delete redundant codes
This commit is contained in:
1 parent
c1d6e901b2
commit
e3d20382d4
8 files changed
+160
-541
No files matched your search
@@ -63,7 +63,7 @@ namespace HandyControl.Controls
|
||||
|
||||
public static readonly DependencyProperty NonClientAreaHeightProperty = DependencyProperty.Register(
|
||||
"NonClientAreaHeight", typeof(double), typeof(Window),
|
||||
new PropertyMetadata(26.0));
|
||||
new PropertyMetadata(22.0));
|
||||
|
||||
public static readonly DependencyProperty ShowNonClientAreaProperty = DependencyProperty.Register(
|
||||
"ShowNonClientArea", typeof(bool), typeof(Window),
|
||||
@@ -80,8 +80,6 @@ namespace HandyControl.Controls
|
||||
|
||||
private Thickness _actualBorderThickness;
|
||||
|
||||
private UIElement _nonClientArea;
|
||||
|
||||
private bool _showNonClientArea = true;
|
||||
|
||||
private double _tempNonClientAreaHeight;
|
||||
@@ -92,6 +90,8 @@ namespace HandyControl.Controls
|
||||
|
||||
private ResizeMode _tempResizeMode;
|
||||
|
||||
private UIElement _nonClientArea;
|
||||
|
||||
static Window()
|
||||
{
|
||||
StyleProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(Application.Current.FindResource(ResourceToken.WindowWin10)));
|
||||
|
||||
Reference in new issue
Block a user