From 225aa1499e37faf9d38257caabbadc68d78b427e Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 12:29:41 -0300 Subject: decompiler.com --- .../CustomItemControl.cs | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Decompiler/Gestor.Application.Componentes/CustomItemControl.cs (limited to 'Decompiler/Gestor.Application.Componentes/CustomItemControl.cs') diff --git a/Decompiler/Gestor.Application.Componentes/CustomItemControl.cs b/Decompiler/Gestor.Application.Componentes/CustomItemControl.cs new file mode 100644 index 0000000..12adba1 --- /dev/null +++ b/Decompiler/Gestor.Application.Componentes/CustomItemControl.cs @@ -0,0 +1,39 @@ +using System.Windows; +using System.Windows.Controls; + +namespace Gestor.Application.Componentes; + +public class CustomItemControl : ItemsControl +{ + public static readonly DependencyProperty LabelProperty = DependencyProperty.Register("Label", typeof(string), typeof(CustomItemControl), (PropertyMetadata)new FrameworkPropertyMetadata((object)string.Empty, (FrameworkPropertyMetadataOptions)256)); + + public static readonly DependencyProperty LabelVisibilityProperty = DependencyProperty.Register("LabelVisibility", typeof(Visibility), typeof(CustomItemControl), (PropertyMetadata)new FrameworkPropertyMetadata((object)(Visibility)0, (FrameworkPropertyMetadataOptions)256)); + + public bool Entered { get; set; } + + public string Label + { + get + { + return (string)((DependencyObject)this).GetValue(LabelProperty); + } + set + { + ((DependencyObject)this).SetValue(LabelProperty, (object)value); + } + } + + public Visibility LabelVisibility + { + get + { + //IL_000b: Unknown result type (might be due to invalid IL or missing references) + return (Visibility)((DependencyObject)this).GetValue(LabelVisibilityProperty); + } + set + { + //IL_0006: Unknown result type (might be due to invalid IL or missing references) + ((DependencyObject)this).SetValue(LabelVisibilityProperty, (object)value); + } + } +} -- cgit v1.2.3