Automated dotnet-format update

This commit is contained in:
github-actions-dotnet-formatter[bot] committed 2020-12-04 15:12:55 +00:00
1 parent ad4c2f68aa
commit 2af18c2d38
403 files changed
+1569 -1567

No files matched your search

@@ -23,7 +23,7 @@ namespace HandyControl.Controls
{
if (d is UIElement ctl)
{
if ((bool)e.NewValue)
if ((bool) e.NewValue)
{
ctl.MouseLeftButtonDown += DragElement_MouseLeftButtonDown;
}
@@ -49,7 +49,7 @@ namespace HandyControl.Controls
{
if (d is System.Windows.Window window)
{
if ((bool)e.NewValue)
if ((bool) e.NewValue)
{
window.PreviewKeyDown += Window_PreviewKeyDown;
}
@@ -110,7 +110,7 @@ namespace HandyControl.Controls
=> element.SetValue(ShowInTaskManagerProperty, ValueBoxes.BooleanBox(value));
public static bool GetShowInTaskManager(DependencyObject element)
=> (bool)element.GetValue(ShowInTaskManagerProperty);
=> (bool) element.GetValue(ShowInTaskManagerProperty);
public static readonly DependencyProperty HideWhenClosingProperty = DependencyProperty.RegisterAttached(
"HideWhenClosing", typeof(bool), typeof(WindowAttach), new PropertyMetadata(ValueBoxes.FalseBox, OnHideWhenClosingChanged));
@@ -119,7 +119,7 @@ namespace HandyControl.Controls
{
if (d is System.Windows.Window window)
{
var v = (bool)e.NewValue;
var v = (bool) e.NewValue;
if (v)
{
window.Closing += Window_Closing;
@@ -146,4 +146,4 @@ namespace HandyControl.Controls
public static bool GetHideWhenClosing(DependencyObject element)
=> (bool) element.GetValue(HideWhenClosingProperty);
}
}
}