From 1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 10:38:18 -0300 Subject: chore: location --- .../Componentes/CustomIsReadOnlyControl.cs | 76 ---------------------- 1 file changed, 76 deletions(-) delete mode 100644 Gestor.Application/Componentes/CustomIsReadOnlyControl.cs (limited to 'Gestor.Application/Componentes/CustomIsReadOnlyControl.cs') diff --git a/Gestor.Application/Componentes/CustomIsReadOnlyControl.cs b/Gestor.Application/Componentes/CustomIsReadOnlyControl.cs deleted file mode 100644 index 988f8fc..0000000 --- a/Gestor.Application/Componentes/CustomIsReadOnlyControl.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.Windows; - -namespace Gestor.Application.Componentes -{ - public class CustomIsReadOnlyControl : CustomItemControl - { - public readonly static DependencyProperty IsReadOnlyProperty; - - public readonly static DependencyProperty HasValidationProperty; - - public readonly static DependencyProperty TextProperty; - - public readonly static DependencyProperty TextAlignmentProperty; - - public bool HasValidation - { - get - { - return (bool)base.GetValue(CustomIsReadOnlyControl.HasValidationProperty); - } - set - { - base.SetValue(CustomIsReadOnlyControl.HasValidationProperty, value); - } - } - - public bool IsReadOnly - { - get - { - return (bool)base.GetValue(CustomIsReadOnlyControl.IsReadOnlyProperty); - } - set - { - base.SetValue(CustomIsReadOnlyControl.IsReadOnlyProperty, value); - } - } - - public string Text - { - get - { - return (string)base.GetValue(CustomIsReadOnlyControl.TextProperty); - } - set - { - base.SetValue(CustomIsReadOnlyControl.TextProperty, value); - } - } - - public System.Windows.TextAlignment TextAlignment - { - get - { - return (System.Windows.TextAlignment)base.GetValue(CustomIsReadOnlyControl.TextAlignmentProperty); - } - set - { - base.SetValue(CustomIsReadOnlyControl.TextAlignmentProperty, value); - } - } - - static CustomIsReadOnlyControl() - { - CustomIsReadOnlyControl.IsReadOnlyProperty = DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(CustomIsReadOnlyControl), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault)); - CustomIsReadOnlyControl.HasValidationProperty = DependencyProperty.Register("HasValidation", typeof(bool), typeof(CustomIsReadOnlyControl), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault)); - CustomIsReadOnlyControl.TextProperty = DependencyProperty.Register("Text", typeof(string), typeof(CustomIsReadOnlyControl), new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault)); - CustomIsReadOnlyControl.TextAlignmentProperty = DependencyProperty.Register("TextAlignment", typeof(System.Windows.TextAlignment), typeof(CustomIsReadOnlyControl), new FrameworkPropertyMetadata((object)System.Windows.TextAlignment.Left, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault)); - } - - public CustomIsReadOnlyControl() - { - } - } -} \ No newline at end of file -- cgit v1.2.3