enhance: optimize input elements.
This commit is contained in:
1 parent
322e3669c2
commit
8e707a66a9
52 files changed
+5095
-7090
No files matched your search
@@ -85,6 +85,15 @@ public class TitleElement
|
||||
public static Thickness GetMarginOnTheLeft(DependencyObject element)
|
||||
=> (Thickness) element.GetValue(MarginOnTheLeftProperty);
|
||||
|
||||
public static readonly DependencyProperty MarginOnTheTopProperty = DependencyProperty.RegisterAttached(
|
||||
"MarginOnTheTop", typeof(Thickness), typeof(TitleElement), new FrameworkPropertyMetadata(default(Thickness), FrameworkPropertyMetadataOptions.Inherits));
|
||||
|
||||
public static void SetMarginOnTheTop(DependencyObject element, Thickness value)
|
||||
=> element.SetValue(MarginOnTheTopProperty, value);
|
||||
|
||||
public static Thickness GetMarginOnTheTop(DependencyObject element)
|
||||
=> (Thickness) element.GetValue(MarginOnTheTopProperty);
|
||||
|
||||
public static readonly DependencyProperty PaddingProperty = DependencyProperty.RegisterAttached(
|
||||
"Padding", typeof(Thickness), typeof(TitleElement), new FrameworkPropertyMetadata(default(Thickness), FrameworkPropertyMetadataOptions.Inherits));
|
||||
|
||||
|
||||
Reference in new issue
Block a user