Skip to content

Commit c827978

Browse files
committed
2 parents 916d3d1 + 9d9b7b9 commit c827978

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/push-to-myget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
run: |
1616
cd build
1717
.\build.ps1
18-
nuget pack build-for-myget.nuspec -version 3.1.0-beta.${env:GITHUB_RUN_NUMBER}
18+
nuget pack build-for-myget.nuspec -version 3.2.0-beta.${env:GITHUB_RUN_NUMBER}
1919
$nupkgName = @(gci *.nupkg)[0].Name
2020
$mygetSourcePath = "https://www.myget.org/F/handycontrol"
2121
nuget setApiKey ${{ secrets.MYGETTOKEN }} -Source $mygetSourcePath

src/Shared/HandyControl_Shared/Controls/Panel/RelativePanel.cs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static void SetAlignLeftWithPanel(DependencyObject element, bool value)
2727
=> element.SetValue(AlignLeftWithPanelProperty, ValueBoxes.BooleanBox(value));
2828

2929
public static bool GetAlignLeftWithPanel(DependencyObject element)
30-
=> (bool)element.GetValue(AlignLeftWithPanelProperty);
30+
=> (bool) element.GetValue(AlignLeftWithPanelProperty);
3131

3232
public static readonly DependencyProperty AlignTopWithPanelProperty = DependencyProperty.RegisterAttached(
3333
"AlignTopWithPanel", typeof(bool), typeof(RelativePanel), new FrameworkPropertyMetadata(ValueBoxes.FalseBox, FrameworkPropertyMetadataOptions.AffectsRender));
@@ -36,7 +36,7 @@ public static void SetAlignTopWithPanel(DependencyObject element, bool value)
3636
=> element.SetValue(AlignTopWithPanelProperty, ValueBoxes.BooleanBox(value));
3737

3838
public static bool GetAlignTopWithPanel(DependencyObject element)
39-
=> (bool)element.GetValue(AlignTopWithPanelProperty);
39+
=> (bool) element.GetValue(AlignTopWithPanelProperty);
4040

4141
public static readonly DependencyProperty AlignRightWithPanelProperty = DependencyProperty.RegisterAttached(
4242
"AlignRightWithPanel", typeof(bool), typeof(RelativePanel), new FrameworkPropertyMetadata(ValueBoxes.FalseBox, FrameworkPropertyMetadataOptions.AffectsRender));
@@ -45,7 +45,7 @@ public static void SetAlignRightWithPanel(DependencyObject element, bool value)
4545
=> element.SetValue(AlignRightWithPanelProperty, ValueBoxes.BooleanBox(value));
4646

4747
public static bool GetAlignRightWithPanel(DependencyObject element)
48-
=> (bool)element.GetValue(AlignRightWithPanelProperty);
48+
=> (bool) element.GetValue(AlignRightWithPanelProperty);
4949

5050
public static readonly DependencyProperty AlignBottomWithPanelProperty = DependencyProperty.RegisterAttached(
5151
"AlignBottomWithPanel", typeof(bool), typeof(RelativePanel), new FrameworkPropertyMetadata(ValueBoxes.FalseBox, FrameworkPropertyMetadataOptions.AffectsRender));
@@ -54,7 +54,7 @@ public static void SetAlignBottomWithPanel(DependencyObject element, bool value)
5454
=> element.SetValue(AlignBottomWithPanelProperty, ValueBoxes.BooleanBox(value));
5555

5656
public static bool GetAlignBottomWithPanel(DependencyObject element)
57-
=> (bool)element.GetValue(AlignBottomWithPanelProperty);
57+
=> (bool) element.GetValue(AlignBottomWithPanelProperty);
5858

5959
#endregion
6060

@@ -68,7 +68,7 @@ public static void SetAlignLeftWith(DependencyObject element, UIElement value)
6868

6969
[TypeConverter(typeof(NameReferenceConverter))]
7070
public static UIElement GetAlignLeftWith(DependencyObject element)
71-
=> (UIElement)element.GetValue(AlignLeftWithProperty);
71+
=> (UIElement) element.GetValue(AlignLeftWithProperty);
7272

7373
public static readonly DependencyProperty AlignTopWithProperty = DependencyProperty.RegisterAttached(
7474
"AlignTopWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
@@ -78,7 +78,7 @@ public static void SetAlignTopWith(DependencyObject element, UIElement value)
7878

7979
[TypeConverter(typeof(NameReferenceConverter))]
8080
public static UIElement GetAlignTopWith(DependencyObject element)
81-
=> (UIElement)element.GetValue(AlignTopWithProperty);
81+
=> (UIElement) element.GetValue(AlignTopWithProperty);
8282

8383
public static readonly DependencyProperty AlignRightWithProperty = DependencyProperty.RegisterAttached(
8484
"AlignRightWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
@@ -88,7 +88,7 @@ public static void SetAlignRightWith(DependencyObject element, UIElement value)
8888

8989
[TypeConverter(typeof(NameReferenceConverter))]
9090
public static UIElement GetAlignRightWith(DependencyObject element)
91-
=> (UIElement)element.GetValue(AlignRightWithProperty);
91+
=> (UIElement) element.GetValue(AlignRightWithProperty);
9292

9393
public static readonly DependencyProperty AlignBottomWithProperty = DependencyProperty.RegisterAttached(
9494
"AlignBottomWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
@@ -98,7 +98,7 @@ public static void SetAlignBottomWith(DependencyObject element, UIElement value)
9898

9999
[TypeConverter(typeof(NameReferenceConverter))]
100100
public static UIElement GetAlignBottomWith(DependencyObject element)
101-
=> (UIElement)element.GetValue(AlignBottomWithProperty);
101+
=> (UIElement) element.GetValue(AlignBottomWithProperty);
102102

103103
#endregion
104104

@@ -112,7 +112,7 @@ public static void SetLeftOf(DependencyObject element, UIElement value)
112112

113113
[TypeConverter(typeof(NameReferenceConverter))]
114114
public static UIElement GetLeftOf(DependencyObject element)
115-
=> (UIElement)element.GetValue(LeftOfProperty);
115+
=> (UIElement) element.GetValue(LeftOfProperty);
116116

117117
public static readonly DependencyProperty AboveProperty = DependencyProperty.RegisterAttached(
118118
"Above", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
@@ -122,7 +122,7 @@ public static void SetAbove(DependencyObject element, UIElement value)
122122

123123
[TypeConverter(typeof(NameReferenceConverter))]
124124
public static UIElement GetAbove(DependencyObject element)
125-
=> (UIElement)element.GetValue(AboveProperty);
125+
=> (UIElement) element.GetValue(AboveProperty);
126126

127127
public static readonly DependencyProperty RightOfProperty = DependencyProperty.RegisterAttached(
128128
"RightOf", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
@@ -132,7 +132,7 @@ public static void SetRightOf(DependencyObject element, UIElement value)
132132

133133
[TypeConverter(typeof(NameReferenceConverter))]
134134
public static UIElement GetRightOf(DependencyObject element)
135-
=> (UIElement)element.GetValue(RightOfProperty);
135+
=> (UIElement) element.GetValue(RightOfProperty);
136136

137137
public static readonly DependencyProperty BelowProperty = DependencyProperty.RegisterAttached(
138138
"Below", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
@@ -142,7 +142,7 @@ public static void SetBelow(DependencyObject element, UIElement value)
142142

143143
[TypeConverter(typeof(NameReferenceConverter))]
144144
public static UIElement GetBelow(DependencyObject element)
145-
=> (UIElement)element.GetValue(BelowProperty);
145+
=> (UIElement) element.GetValue(BelowProperty);
146146

147147
#endregion
148148

@@ -155,7 +155,7 @@ public static void SetAlignHorizontalCenterWithPanel(DependencyObject element, b
155155
=> element.SetValue(AlignHorizontalCenterWithPanelProperty, ValueBoxes.BooleanBox(value));
156156

157157
public static bool GetAlignHorizontalCenterWithPanel(DependencyObject element)
158-
=> (bool)element.GetValue(AlignHorizontalCenterWithPanelProperty);
158+
=> (bool) element.GetValue(AlignHorizontalCenterWithPanelProperty);
159159

160160
public static readonly DependencyProperty AlignVerticalCenterWithPanelProperty = DependencyProperty.RegisterAttached(
161161
"AlignVerticalCenterWithPanel", typeof(bool), typeof(RelativePanel), new FrameworkPropertyMetadata(ValueBoxes.FalseBox, FrameworkPropertyMetadataOptions.AffectsRender));
@@ -164,7 +164,7 @@ public static void SetAlignVerticalCenterWithPanel(DependencyObject element, boo
164164
=> element.SetValue(AlignVerticalCenterWithPanelProperty, ValueBoxes.BooleanBox(value));
165165

166166
public static bool GetAlignVerticalCenterWithPanel(DependencyObject element)
167-
=> (bool)element.GetValue(AlignVerticalCenterWithPanelProperty);
167+
=> (bool) element.GetValue(AlignVerticalCenterWithPanelProperty);
168168

169169
public static readonly DependencyProperty AlignHorizontalCenterWithProperty = DependencyProperty.RegisterAttached(
170170
"AlignHorizontalCenterWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
@@ -174,7 +174,7 @@ public static void SetAlignHorizontalCenterWith(DependencyObject element, UIElem
174174

175175
[TypeConverter(typeof(NameReferenceConverter))]
176176
public static UIElement GetAlignHorizontalCenterWith(DependencyObject element)
177-
=> (UIElement)element.GetValue(AlignHorizontalCenterWithProperty);
177+
=> (UIElement) element.GetValue(AlignHorizontalCenterWithProperty);
178178

179179
public static readonly DependencyProperty AlignVerticalCenterWithProperty = DependencyProperty.RegisterAttached(
180180
"AlignVerticalCenterWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
@@ -184,7 +184,7 @@ public static void SetAlignVerticalCenterWith(DependencyObject element, UIElemen
184184

185185
[TypeConverter(typeof(NameReferenceConverter))]
186186
public static UIElement GetAlignVerticalCenterWith(DependencyObject element)
187-
=> (UIElement)element.GetValue(AlignVerticalCenterWithProperty);
187+
=> (UIElement) element.GetValue(AlignVerticalCenterWithProperty);
188188

189189
#endregion
190190

0 commit comments

Comments
 (0)