summaryrefslogtreecommitdiff
path: root/Gestor.Application/Componentes/CustomIsReadOnlyControl.cs
diff options
context:
space:
mode:
authorLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-30 13:38:18 +0000
committerLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-30 13:38:18 +0000
commit1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 (patch)
treee1c3b20ea08f0cf71122a1e73f0d395f8fd83874 /Gestor.Application/Componentes/CustomIsReadOnlyControl.cs
parent674ca83ba9243a9e95a7568c797668dab6aee26a (diff)
downloadgestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.tar.gz
gestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.zip
chore: location
Diffstat (limited to 'Gestor.Application/Componentes/CustomIsReadOnlyControl.cs')
-rw-r--r--Gestor.Application/Componentes/CustomIsReadOnlyControl.cs76
1 files changed, 0 insertions, 76 deletions
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