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

@@ -270,19 +270,19 @@ namespace HandyControl.Controls
public bool IsFullScreen
{
get => (bool)GetValue(IsFullScreenProperty);
get => (bool) GetValue(IsFullScreenProperty);
set => SetValue(IsFullScreenProperty, ValueBoxes.BooleanBox(value));
}
public bool ShowImgMap
{
get => (bool)GetValue(ShowImgMapProperty);
get => (bool) GetValue(ShowImgMapProperty);
set => SetValue(ShowImgMapProperty, ValueBoxes.BooleanBox(value));
}
public BitmapFrame ImageSource
{
get => (BitmapFrame)GetValue(ImageSourceProperty);
get => (BitmapFrame) GetValue(ImageSourceProperty);
set => SetValue(ImageSourceProperty, value);
}
@@ -294,13 +294,13 @@ namespace HandyControl.Controls
internal string ImgPath
{
get => (string)GetValue(ImgPathProperty);
get => (string) GetValue(ImgPathProperty);
set => SetValue(ImgPathProperty, value);
}
internal long ImgSize
{
get => (long)GetValue(ImgSizeProperty);
get => (long) GetValue(ImgSizeProperty);
set => SetValue(ImgSizeProperty, value);
}
@@ -309,49 +309,49 @@ namespace HandyControl.Controls
/// </summary>
internal bool ShowFullScreenButton
{
get => (bool)GetValue(ShowFullScreenButtonProperty);
get => (bool) GetValue(ShowFullScreenButtonProperty);
set => SetValue(ShowFullScreenButtonProperty, ValueBoxes.BooleanBox(value));
}
internal Thickness ImageMargin
{
get => (Thickness)GetValue(ImageMarginProperty);
get => (Thickness) GetValue(ImageMarginProperty);
set => SetValue(ImageMarginProperty, value);
}
internal double ImageWidth
{
get => (double)GetValue(ImageWidthProperty);
get => (double) GetValue(ImageWidthProperty);
set => SetValue(ImageWidthProperty, value);
}
internal double ImageHeight
{
get => (double)GetValue(ImageHeightProperty);
get => (double) GetValue(ImageHeightProperty);
set => SetValue(ImageHeightProperty, value);
}
internal double ImageScale
{
get => (double)GetValue(ImageScaleProperty);
get => (double) GetValue(ImageScaleProperty);
set => SetValue(ImageScaleProperty, value);
}
internal string ScaleStr
{
get => (string)GetValue(ScaleStrProperty);
get => (string) GetValue(ScaleStrProperty);
set => SetValue(ScaleStrProperty, value);
}
internal double ImageRotate
{
get => (double)GetValue(ImageRotateProperty);
get => (double) GetValue(ImageRotateProperty);
set => SetValue(ImageRotateProperty, value);
}
internal bool ShowSmallImgInternal
{
get => (bool)GetValue(ShowSmallImgInternalProperty);
get => (bool) GetValue(ShowSmallImgInternalProperty);
set => SetValue(ShowSmallImgInternalProperty, ValueBoxes.BooleanBox(value));
}
@@ -370,7 +370,7 @@ namespace HandyControl.Controls
/// </summary>
internal bool ShowCloseButton
{
get => (bool)GetValue(ShowCloseButtonProperty);
get => (bool) GetValue(ShowCloseButtonProperty);
set => SetValue(ShowCloseButtonProperty, ValueBoxes.BooleanBox(value));
}
@@ -811,7 +811,7 @@ namespace HandyControl.Controls
{
_imgActualRotate = rotate;
_isOblique = ((int)_imgActualRotate - 90) % 180 == 0;
_isOblique = ((int) _imgActualRotate - 90) % 180 == 0;
ShowSmallImgInternal = false;
Init();
InitBorderSmall();
@@ -918,4 +918,4 @@ namespace HandyControl.Controls
private void CanvasSmallImg_OnMouseLeave(object sender, MouseEventArgs e) => _imgSmallIsMouseLeftButtonDown = false;
}
}
}