Automated dotnet-format update
This commit is contained in:
1 parent
ed41aabdef
commit
4cb300574c
747 files changed
+1000
-1000
No files matched your search
@@ -167,4 +167,4 @@ public class AnimationPath : Shape
|
||||
}
|
||||
|
||||
private void Storyboard_Completed(object sender, EventArgs e) => RaiseEvent(new RoutedEventArgs(CompletedEvent));
|
||||
}
|
||||
}
|
||||
@@ -97,4 +97,4 @@ public class Badge : ContentControl
|
||||
}
|
||||
|
||||
protected override Geometry GetLayoutClip(Size layoutSlotSize) => null;
|
||||
}
|
||||
}
|
||||
@@ -112,4 +112,4 @@ public class BlendEffectBox : Control
|
||||
get => (FrameworkElement) GetValue(ActualContentProperty);
|
||||
set => SetValue(ActualContentProperty, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -83,4 +83,4 @@ public class Card : ContentControl
|
||||
get => (string) GetValue(FooterStringFormatProperty);
|
||||
set => SetValue(FooterStringFormatProperty, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -42,4 +42,4 @@ public class ChatBubble : SelectableItem
|
||||
IsRead = true;
|
||||
ReadAction?.Invoke(Content);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -666,4 +666,4 @@ public class DashedBorder : Decorator
|
||||
internal readonly double BottomLeft;
|
||||
internal readonly double LeftBottom;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -78,4 +78,4 @@ public class Divider : Control
|
||||
get => (DoubleCollection) GetValue(LineStrokeDashArrayProperty);
|
||||
set => SetValue(LineStrokeDashArrayProperty, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -32,4 +32,4 @@ public class Empty : ContentControl
|
||||
|
||||
public static bool GetShowEmpty(DependencyObject element)
|
||||
=> (bool) element.GetValue(ShowEmptyProperty);
|
||||
}
|
||||
}
|
||||
@@ -96,4 +96,4 @@ public class GotoTop : Button
|
||||
|
||||
_gotoTopAction?.Invoke();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -54,4 +54,4 @@ public class Gravatar : ContentControl
|
||||
get => (ImageSource) GetValue(SourceProperty);
|
||||
set => SetValue(SourceProperty, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -156,4 +156,4 @@ public class Magnifier : AdornerElement
|
||||
}
|
||||
this.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -97,31 +97,31 @@ public sealed class Notification : System.Windows.Window
|
||||
case ShowAnimation.None:
|
||||
break;
|
||||
case ShowAnimation.HorizontalMove:
|
||||
{
|
||||
var animation = AnimationHelper.CreateAnimation(desktopWorkingArea.Width);
|
||||
animation.Completed += Animation_Completed;
|
||||
BeginAnimation(LeftProperty, animation);
|
||||
e.Cancel = true;
|
||||
_shouldBeClosed = true;
|
||||
}
|
||||
{
|
||||
var animation = AnimationHelper.CreateAnimation(desktopWorkingArea.Width);
|
||||
animation.Completed += Animation_Completed;
|
||||
BeginAnimation(LeftProperty, animation);
|
||||
e.Cancel = true;
|
||||
_shouldBeClosed = true;
|
||||
}
|
||||
break;
|
||||
case ShowAnimation.VerticalMove:
|
||||
{
|
||||
var animation = AnimationHelper.CreateAnimation(desktopWorkingArea.Height);
|
||||
animation.Completed += Animation_Completed;
|
||||
BeginAnimation(TopProperty, animation);
|
||||
e.Cancel = true;
|
||||
_shouldBeClosed = true;
|
||||
}
|
||||
{
|
||||
var animation = AnimationHelper.CreateAnimation(desktopWorkingArea.Height);
|
||||
animation.Completed += Animation_Completed;
|
||||
BeginAnimation(TopProperty, animation);
|
||||
e.Cancel = true;
|
||||
_shouldBeClosed = true;
|
||||
}
|
||||
break;
|
||||
case ShowAnimation.Fade:
|
||||
{
|
||||
var animation = AnimationHelper.CreateAnimation(0);
|
||||
animation.Completed += Animation_Completed;
|
||||
BeginAnimation(OpacityProperty, animation);
|
||||
e.Cancel = true;
|
||||
_shouldBeClosed = true;
|
||||
}
|
||||
{
|
||||
var animation = AnimationHelper.CreateAnimation(0);
|
||||
animation.Completed += Animation_Completed;
|
||||
BeginAnimation(OpacityProperty, animation);
|
||||
e.Cancel = true;
|
||||
_shouldBeClosed = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -150,4 +150,4 @@ public sealed class Notification : System.Windows.Window
|
||||
};
|
||||
_timerClose.Start();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -718,4 +718,4 @@ public class NotifyIcon : FrameworkElement, IDisposable
|
||||
|
||||
_isDisposed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -398,4 +398,4 @@ public class Pagination : Control
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
}
|
||||
}
|
||||
@@ -325,4 +325,4 @@ public class Poptip : AdornerElement
|
||||
|
||||
SwitchPoptip(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -208,4 +208,4 @@ public class ScrollViewer : System.Windows.Controls.ScrollViewer
|
||||
get => (double) GetValue(CurrentHorizontalOffsetProperty);
|
||||
set => SetValue(CurrentHorizontalOffsetProperty, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -34,4 +34,4 @@ public class Shield : ButtonBase
|
||||
get => (Brush) GetValue(ColorProperty);
|
||||
set => SetValue(ColorProperty, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -25,4 +25,4 @@ public sealed class Sprite : System.Windows.Window
|
||||
|
||||
return sprite;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -104,4 +104,4 @@ public class TransitioningContentControl : ContentControl
|
||||
|
||||
StartTransition();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -161,4 +161,4 @@ public class Watermark : Control
|
||||
}
|
||||
|
||||
protected override void OnRender(DrawingContext drawingContext) => EnsureBrush();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user