命名调整
This commit is contained in:
@@ -9,14 +9,14 @@
|
||||
/// <summary>
|
||||
/// A helper class that provides various controls.
|
||||
/// </summary>
|
||||
public static class Control
|
||||
public static class AntdControl
|
||||
{
|
||||
#region Border
|
||||
|
||||
public static readonly DependencyProperty CornerRadiusProperty = DependencyProperty.RegisterAttached(
|
||||
"CornerRadius",
|
||||
typeof(CornerRadius),
|
||||
typeof(Control),
|
||||
typeof(AntdControl),
|
||||
new FrameworkPropertyMetadata(
|
||||
default(CornerRadius),
|
||||
FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender
|
||||
@@ -42,7 +42,7 @@
|
||||
public static readonly DependencyProperty BorderStyleProperty = DependencyProperty.RegisterAttached(
|
||||
"BorderStyle",
|
||||
typeof(BorderStyle),
|
||||
typeof(Control),
|
||||
typeof(AntdControl),
|
||||
new PropertyMetadata(BorderStyle.Solid));
|
||||
|
||||
/// <summary>
|
||||
@@ -68,7 +68,7 @@
|
||||
public static readonly DependencyProperty SizeProperty = DependencyProperty.RegisterAttached(
|
||||
"Size",
|
||||
typeof(Sizes?),
|
||||
typeof(Control),
|
||||
typeof(AntdControl),
|
||||
new PropertyMetadata(null));
|
||||
|
||||
/// <summary>
|
||||
@@ -94,7 +94,7 @@
|
||||
public static readonly DependencyProperty MouseOverForegroundProperty = DependencyProperty.RegisterAttached(
|
||||
"MouseOverForeground",
|
||||
typeof(Brush),
|
||||
typeof(Control),
|
||||
typeof(AntdControl),
|
||||
new FrameworkPropertyMetadata(
|
||||
Brushes.Transparent, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.Inherits
|
||||
));
|
||||
@@ -118,7 +118,7 @@
|
||||
public static readonly DependencyProperty MouseOverBorderBrushProperty = DependencyProperty.RegisterAttached(
|
||||
"MouseOverBorderBrush",
|
||||
typeof(Brush),
|
||||
typeof(Control),
|
||||
typeof(AntdControl),
|
||||
new FrameworkPropertyMetadata(
|
||||
Brushes.Transparent, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.Inherits
|
||||
));
|
||||
@@ -142,7 +142,7 @@
|
||||
public static readonly DependencyProperty MouseOverBackgroundProperty = DependencyProperty.RegisterAttached(
|
||||
"MouseOverBackground",
|
||||
typeof(Brush),
|
||||
typeof(Control),
|
||||
typeof(AntdControl),
|
||||
new FrameworkPropertyMetadata(
|
||||
Brushes.Transparent, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.Inherits
|
||||
));
|
||||
@@ -166,7 +166,7 @@
|
||||
public static readonly DependencyProperty FocusedForegroundProperty = DependencyProperty.RegisterAttached(
|
||||
"FocusedForeground",
|
||||
typeof(Brush),
|
||||
typeof(Control),
|
||||
typeof(AntdControl),
|
||||
new FrameworkPropertyMetadata(
|
||||
Brushes.Transparent, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.Inherits
|
||||
));
|
||||
@@ -190,7 +190,7 @@
|
||||
public static readonly DependencyProperty FocusedBorderBrushProperty = DependencyProperty.RegisterAttached(
|
||||
"FocusedBorderBrush",
|
||||
typeof(Brush),
|
||||
typeof(Control),
|
||||
typeof(AntdControl),
|
||||
new FrameworkPropertyMetadata(
|
||||
Brushes.Transparent, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.Inherits
|
||||
));
|
||||
@@ -214,7 +214,7 @@
|
||||
public static readonly DependencyProperty FocusedBackgroundProperty = DependencyProperty.RegisterAttached(
|
||||
"FocusedBackground",
|
||||
typeof(Brush),
|
||||
typeof(Control),
|
||||
typeof(AntdControl),
|
||||
new FrameworkPropertyMetadata(
|
||||
Brushes.Transparent, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.Inherits
|
||||
));
|
||||
@@ -238,7 +238,7 @@
|
||||
public static readonly DependencyProperty PressedForegroundProperty = DependencyProperty.RegisterAttached(
|
||||
"PressedForeground",
|
||||
typeof(Brush),
|
||||
typeof(Control),
|
||||
typeof(AntdControl),
|
||||
new FrameworkPropertyMetadata(
|
||||
Brushes.Transparent, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.Inherits
|
||||
));
|
||||
@@ -262,7 +262,7 @@
|
||||
public static readonly DependencyProperty PressedBorderBrushProperty = DependencyProperty.RegisterAttached(
|
||||
"PressedBorderBrush",
|
||||
typeof(Brush),
|
||||
typeof(Control),
|
||||
typeof(AntdControl),
|
||||
new FrameworkPropertyMetadata(
|
||||
Brushes.Transparent, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.Inherits
|
||||
));
|
||||
@@ -286,7 +286,7 @@
|
||||
public static readonly DependencyProperty PressedBackgroundProperty = DependencyProperty.RegisterAttached(
|
||||
"PressedBackground",
|
||||
typeof(Brush),
|
||||
typeof(Control),
|
||||
typeof(AntdControl),
|
||||
new FrameworkPropertyMetadata(
|
||||
Brushes.Transparent, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.Inherits
|
||||
));
|
||||
Reference in New Issue
Block a user