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

@@ -108,7 +108,7 @@ namespace HandyControl.Controls
public FontFamily FontFamily
{
get => (FontFamily)GetValue(FontFamilyProperty);
get => (FontFamily) GetValue(FontFamilyProperty);
set => SetValue(FontFamilyProperty, value);
}
@@ -119,7 +119,7 @@ namespace HandyControl.Controls
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize
{
get => (double)GetValue(FontSizeProperty);
get => (double) GetValue(FontSizeProperty);
set => SetValue(FontSizeProperty, value);
}
@@ -129,7 +129,7 @@ namespace HandyControl.Controls
public FontStretch FontStretch
{
get => (FontStretch)GetValue(FontStretchProperty);
get => (FontStretch) GetValue(FontStretchProperty);
set => SetValue(FontStretchProperty, value);
}
@@ -139,7 +139,7 @@ namespace HandyControl.Controls
public FontStyle FontStyle
{
get => (FontStyle)GetValue(FontStyleProperty);
get => (FontStyle) GetValue(FontStyleProperty);
set => SetValue(FontStyleProperty, value);
}
@@ -149,7 +149,7 @@ namespace HandyControl.Controls
public FontWeight FontWeight
{
get => (FontWeight)GetValue(FontWeightProperty);
get => (FontWeight) GetValue(FontWeightProperty);
set => SetValue(FontWeightProperty, value);
}
@@ -219,7 +219,7 @@ namespace HandyControl.Controls
Text,
CultureInfo.CurrentUICulture,
FlowDirection,
new Typeface(FontFamily, FontStyle, FontWeight, FontStretch),
new Typeface(FontFamily, FontStyle, FontWeight, FontStretch),
FontSize, Fill, dpi);
#endif
@@ -264,7 +264,7 @@ namespace HandyControl.Controls
private static void OnFormattedTextUpdated(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var outlinedTextBlock = (OutlineText)d;
var outlinedTextBlock = (OutlineText) d;
outlinedTextBlock.UpdateFormattedText();
outlinedTextBlock._textGeometry = null;
@@ -274,7 +274,7 @@ namespace HandyControl.Controls
private static void OnFormattedTextInvalidated(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var outlinedTextBlock = (OutlineText)d;
var outlinedTextBlock = (OutlineText) d;
outlinedTextBlock._formattedText = null;
outlinedTextBlock._textGeometry = null;
@@ -298,4 +298,4 @@ namespace HandyControl.Controls
return new Size(_formattedText.Width, _formattedText.Height);
}
}
}
}
@@ -26,7 +26,7 @@ namespace HandyControl.Controls
public string Text
{
get => (string)GetValue(TextProperty);
get => (string) GetValue(TextProperty);
set => SetValue(TextProperty, value);
}
@@ -36,7 +36,7 @@ namespace HandyControl.Controls
public TextAlignment TextAlignment
{
get => (TextAlignment)GetValue(TextAlignmentProperty);
get => (TextAlignment) GetValue(TextAlignmentProperty);
set => SetValue(TextAlignmentProperty, value);
}
@@ -46,7 +46,7 @@ namespace HandyControl.Controls
public TextTrimming TextTrimming
{
get => (TextTrimming)GetValue(TextTrimmingProperty);
get => (TextTrimming) GetValue(TextTrimmingProperty);
set => SetValue(TextTrimmingProperty, value);
}
@@ -56,7 +56,7 @@ namespace HandyControl.Controls
public TextWrapping TextWrapping
{
get => (TextWrapping)GetValue(TextWrappingProperty);
get => (TextWrapping) GetValue(TextWrappingProperty);
set => SetValue(TextWrappingProperty, value);
}
@@ -75,7 +75,7 @@ namespace HandyControl.Controls
public FontFamily FontFamily
{
get => (FontFamily)GetValue(FontFamilyProperty);
get => (FontFamily) GetValue(FontFamilyProperty);
set => SetValue(FontFamilyProperty, value);
}
@@ -86,7 +86,7 @@ namespace HandyControl.Controls
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize
{
get => (double)GetValue(FontSizeProperty);
get => (double) GetValue(FontSizeProperty);
set => SetValue(FontSizeProperty, value);
}
@@ -96,7 +96,7 @@ namespace HandyControl.Controls
public FontStretch FontStretch
{
get => (FontStretch)GetValue(FontStretchProperty);
get => (FontStretch) GetValue(FontStretchProperty);
set => SetValue(FontStretchProperty, value);
}
@@ -106,7 +106,7 @@ namespace HandyControl.Controls
public FontStyle FontStyle
{
get => (FontStyle)GetValue(FontStyleProperty);
get => (FontStyle) GetValue(FontStyleProperty);
set => SetValue(FontStyleProperty, value);
}
@@ -116,7 +116,7 @@ namespace HandyControl.Controls
public FontWeight FontWeight
{
get => (FontWeight)GetValue(FontWeightProperty);
get => (FontWeight) GetValue(FontWeightProperty);
set => SetValue(FontWeightProperty, value);
}
@@ -175,7 +175,7 @@ namespace HandyControl.Controls
private static void OnFormattedTextUpdated(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var outlinedTextBlock = (SimpleText)d;
var outlinedTextBlock = (SimpleText) d;
outlinedTextBlock.UpdateFormattedText();
outlinedTextBlock.InvalidateMeasure();
@@ -184,7 +184,7 @@ namespace HandyControl.Controls
private static void OnFormattedTextInvalidated(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var outlinedTextBlock = (SimpleText)d;
var outlinedTextBlock = (SimpleText) d;
outlinedTextBlock._formattedText = null;
outlinedTextBlock.InvalidateMeasure();
@@ -201,4 +201,4 @@ namespace HandyControl.Controls
return new Size(_formattedText.Width, _formattedText.Height);
}
}
}
}