Merge branch 'master' of https://github.com/HandyOrg/HandyControl
This commit is contained in:
commit
c827978849
2 files changed
+17
-17
No files matched your search
@@ -15,7 +15,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
.\build.ps1
|
.\build.ps1
|
||||||
nuget pack build-for-myget.nuspec -version 3.1.0-beta.${env:GITHUB_RUN_NUMBER}
|
nuget pack build-for-myget.nuspec -version 3.2.0-beta.${env:GITHUB_RUN_NUMBER}
|
||||||
$nupkgName = @(gci *.nupkg)[0].Name
|
$nupkgName = @(gci *.nupkg)[0].Name
|
||||||
$mygetSourcePath = "https://www.myget.org/F/handycontrol"
|
$mygetSourcePath = "https://www.myget.org/F/handycontrol"
|
||||||
nuget setApiKey ${{ secrets.MYGETTOKEN }} -Source $mygetSourcePath
|
nuget setApiKey ${{ secrets.MYGETTOKEN }} -Source $mygetSourcePath
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ namespace HandyControl.Controls
|
|||||||
=> element.SetValue(AlignLeftWithPanelProperty, ValueBoxes.BooleanBox(value));
|
=> element.SetValue(AlignLeftWithPanelProperty, ValueBoxes.BooleanBox(value));
|
||||||
|
|
||||||
public static bool GetAlignLeftWithPanel(DependencyObject element)
|
public static bool GetAlignLeftWithPanel(DependencyObject element)
|
||||||
=> (bool)element.GetValue(AlignLeftWithPanelProperty);
|
=> (bool) element.GetValue(AlignLeftWithPanelProperty);
|
||||||
|
|
||||||
public static readonly DependencyProperty AlignTopWithPanelProperty = DependencyProperty.RegisterAttached(
|
public static readonly DependencyProperty AlignTopWithPanelProperty = DependencyProperty.RegisterAttached(
|
||||||
"AlignTopWithPanel", typeof(bool), typeof(RelativePanel), new FrameworkPropertyMetadata(ValueBoxes.FalseBox, FrameworkPropertyMetadataOptions.AffectsRender));
|
"AlignTopWithPanel", typeof(bool), typeof(RelativePanel), new FrameworkPropertyMetadata(ValueBoxes.FalseBox, FrameworkPropertyMetadataOptions.AffectsRender));
|
||||||
@@ -36,7 +36,7 @@ namespace HandyControl.Controls
|
|||||||
=> element.SetValue(AlignTopWithPanelProperty, ValueBoxes.BooleanBox(value));
|
=> element.SetValue(AlignTopWithPanelProperty, ValueBoxes.BooleanBox(value));
|
||||||
|
|
||||||
public static bool GetAlignTopWithPanel(DependencyObject element)
|
public static bool GetAlignTopWithPanel(DependencyObject element)
|
||||||
=> (bool)element.GetValue(AlignTopWithPanelProperty);
|
=> (bool) element.GetValue(AlignTopWithPanelProperty);
|
||||||
|
|
||||||
public static readonly DependencyProperty AlignRightWithPanelProperty = DependencyProperty.RegisterAttached(
|
public static readonly DependencyProperty AlignRightWithPanelProperty = DependencyProperty.RegisterAttached(
|
||||||
"AlignRightWithPanel", typeof(bool), typeof(RelativePanel), new FrameworkPropertyMetadata(ValueBoxes.FalseBox, FrameworkPropertyMetadataOptions.AffectsRender));
|
"AlignRightWithPanel", typeof(bool), typeof(RelativePanel), new FrameworkPropertyMetadata(ValueBoxes.FalseBox, FrameworkPropertyMetadataOptions.AffectsRender));
|
||||||
@@ -45,7 +45,7 @@ namespace HandyControl.Controls
|
|||||||
=> element.SetValue(AlignRightWithPanelProperty, ValueBoxes.BooleanBox(value));
|
=> element.SetValue(AlignRightWithPanelProperty, ValueBoxes.BooleanBox(value));
|
||||||
|
|
||||||
public static bool GetAlignRightWithPanel(DependencyObject element)
|
public static bool GetAlignRightWithPanel(DependencyObject element)
|
||||||
=> (bool)element.GetValue(AlignRightWithPanelProperty);
|
=> (bool) element.GetValue(AlignRightWithPanelProperty);
|
||||||
|
|
||||||
public static readonly DependencyProperty AlignBottomWithPanelProperty = DependencyProperty.RegisterAttached(
|
public static readonly DependencyProperty AlignBottomWithPanelProperty = DependencyProperty.RegisterAttached(
|
||||||
"AlignBottomWithPanel", typeof(bool), typeof(RelativePanel), new FrameworkPropertyMetadata(ValueBoxes.FalseBox, FrameworkPropertyMetadataOptions.AffectsRender));
|
"AlignBottomWithPanel", typeof(bool), typeof(RelativePanel), new FrameworkPropertyMetadata(ValueBoxes.FalseBox, FrameworkPropertyMetadataOptions.AffectsRender));
|
||||||
@@ -54,7 +54,7 @@ namespace HandyControl.Controls
|
|||||||
=> element.SetValue(AlignBottomWithPanelProperty, ValueBoxes.BooleanBox(value));
|
=> element.SetValue(AlignBottomWithPanelProperty, ValueBoxes.BooleanBox(value));
|
||||||
|
|
||||||
public static bool GetAlignBottomWithPanel(DependencyObject element)
|
public static bool GetAlignBottomWithPanel(DependencyObject element)
|
||||||
=> (bool)element.GetValue(AlignBottomWithPanelProperty);
|
=> (bool) element.GetValue(AlignBottomWithPanelProperty);
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
@@ -68,7 +68,7 @@ namespace HandyControl.Controls
|
|||||||
|
|
||||||
[TypeConverter(typeof(NameReferenceConverter))]
|
[TypeConverter(typeof(NameReferenceConverter))]
|
||||||
public static UIElement GetAlignLeftWith(DependencyObject element)
|
public static UIElement GetAlignLeftWith(DependencyObject element)
|
||||||
=> (UIElement)element.GetValue(AlignLeftWithProperty);
|
=> (UIElement) element.GetValue(AlignLeftWithProperty);
|
||||||
|
|
||||||
public static readonly DependencyProperty AlignTopWithProperty = DependencyProperty.RegisterAttached(
|
public static readonly DependencyProperty AlignTopWithProperty = DependencyProperty.RegisterAttached(
|
||||||
"AlignTopWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
"AlignTopWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
||||||
@@ -78,7 +78,7 @@ namespace HandyControl.Controls
|
|||||||
|
|
||||||
[TypeConverter(typeof(NameReferenceConverter))]
|
[TypeConverter(typeof(NameReferenceConverter))]
|
||||||
public static UIElement GetAlignTopWith(DependencyObject element)
|
public static UIElement GetAlignTopWith(DependencyObject element)
|
||||||
=> (UIElement)element.GetValue(AlignTopWithProperty);
|
=> (UIElement) element.GetValue(AlignTopWithProperty);
|
||||||
|
|
||||||
public static readonly DependencyProperty AlignRightWithProperty = DependencyProperty.RegisterAttached(
|
public static readonly DependencyProperty AlignRightWithProperty = DependencyProperty.RegisterAttached(
|
||||||
"AlignRightWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
"AlignRightWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
||||||
@@ -88,7 +88,7 @@ namespace HandyControl.Controls
|
|||||||
|
|
||||||
[TypeConverter(typeof(NameReferenceConverter))]
|
[TypeConverter(typeof(NameReferenceConverter))]
|
||||||
public static UIElement GetAlignRightWith(DependencyObject element)
|
public static UIElement GetAlignRightWith(DependencyObject element)
|
||||||
=> (UIElement)element.GetValue(AlignRightWithProperty);
|
=> (UIElement) element.GetValue(AlignRightWithProperty);
|
||||||
|
|
||||||
public static readonly DependencyProperty AlignBottomWithProperty = DependencyProperty.RegisterAttached(
|
public static readonly DependencyProperty AlignBottomWithProperty = DependencyProperty.RegisterAttached(
|
||||||
"AlignBottomWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
"AlignBottomWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
||||||
@@ -98,7 +98,7 @@ namespace HandyControl.Controls
|
|||||||
|
|
||||||
[TypeConverter(typeof(NameReferenceConverter))]
|
[TypeConverter(typeof(NameReferenceConverter))]
|
||||||
public static UIElement GetAlignBottomWith(DependencyObject element)
|
public static UIElement GetAlignBottomWith(DependencyObject element)
|
||||||
=> (UIElement)element.GetValue(AlignBottomWithProperty);
|
=> (UIElement) element.GetValue(AlignBottomWithProperty);
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
@@ -112,7 +112,7 @@ namespace HandyControl.Controls
|
|||||||
|
|
||||||
[TypeConverter(typeof(NameReferenceConverter))]
|
[TypeConverter(typeof(NameReferenceConverter))]
|
||||||
public static UIElement GetLeftOf(DependencyObject element)
|
public static UIElement GetLeftOf(DependencyObject element)
|
||||||
=> (UIElement)element.GetValue(LeftOfProperty);
|
=> (UIElement) element.GetValue(LeftOfProperty);
|
||||||
|
|
||||||
public static readonly DependencyProperty AboveProperty = DependencyProperty.RegisterAttached(
|
public static readonly DependencyProperty AboveProperty = DependencyProperty.RegisterAttached(
|
||||||
"Above", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
"Above", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
||||||
@@ -122,7 +122,7 @@ namespace HandyControl.Controls
|
|||||||
|
|
||||||
[TypeConverter(typeof(NameReferenceConverter))]
|
[TypeConverter(typeof(NameReferenceConverter))]
|
||||||
public static UIElement GetAbove(DependencyObject element)
|
public static UIElement GetAbove(DependencyObject element)
|
||||||
=> (UIElement)element.GetValue(AboveProperty);
|
=> (UIElement) element.GetValue(AboveProperty);
|
||||||
|
|
||||||
public static readonly DependencyProperty RightOfProperty = DependencyProperty.RegisterAttached(
|
public static readonly DependencyProperty RightOfProperty = DependencyProperty.RegisterAttached(
|
||||||
"RightOf", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
"RightOf", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
||||||
@@ -132,7 +132,7 @@ namespace HandyControl.Controls
|
|||||||
|
|
||||||
[TypeConverter(typeof(NameReferenceConverter))]
|
[TypeConverter(typeof(NameReferenceConverter))]
|
||||||
public static UIElement GetRightOf(DependencyObject element)
|
public static UIElement GetRightOf(DependencyObject element)
|
||||||
=> (UIElement)element.GetValue(RightOfProperty);
|
=> (UIElement) element.GetValue(RightOfProperty);
|
||||||
|
|
||||||
public static readonly DependencyProperty BelowProperty = DependencyProperty.RegisterAttached(
|
public static readonly DependencyProperty BelowProperty = DependencyProperty.RegisterAttached(
|
||||||
"Below", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
"Below", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
||||||
@@ -142,7 +142,7 @@ namespace HandyControl.Controls
|
|||||||
|
|
||||||
[TypeConverter(typeof(NameReferenceConverter))]
|
[TypeConverter(typeof(NameReferenceConverter))]
|
||||||
public static UIElement GetBelow(DependencyObject element)
|
public static UIElement GetBelow(DependencyObject element)
|
||||||
=> (UIElement)element.GetValue(BelowProperty);
|
=> (UIElement) element.GetValue(BelowProperty);
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
@@ -155,7 +155,7 @@ namespace HandyControl.Controls
|
|||||||
=> element.SetValue(AlignHorizontalCenterWithPanelProperty, ValueBoxes.BooleanBox(value));
|
=> element.SetValue(AlignHorizontalCenterWithPanelProperty, ValueBoxes.BooleanBox(value));
|
||||||
|
|
||||||
public static bool GetAlignHorizontalCenterWithPanel(DependencyObject element)
|
public static bool GetAlignHorizontalCenterWithPanel(DependencyObject element)
|
||||||
=> (bool)element.GetValue(AlignHorizontalCenterWithPanelProperty);
|
=> (bool) element.GetValue(AlignHorizontalCenterWithPanelProperty);
|
||||||
|
|
||||||
public static readonly DependencyProperty AlignVerticalCenterWithPanelProperty = DependencyProperty.RegisterAttached(
|
public static readonly DependencyProperty AlignVerticalCenterWithPanelProperty = DependencyProperty.RegisterAttached(
|
||||||
"AlignVerticalCenterWithPanel", typeof(bool), typeof(RelativePanel), new FrameworkPropertyMetadata(ValueBoxes.FalseBox, FrameworkPropertyMetadataOptions.AffectsRender));
|
"AlignVerticalCenterWithPanel", typeof(bool), typeof(RelativePanel), new FrameworkPropertyMetadata(ValueBoxes.FalseBox, FrameworkPropertyMetadataOptions.AffectsRender));
|
||||||
@@ -164,7 +164,7 @@ namespace HandyControl.Controls
|
|||||||
=> element.SetValue(AlignVerticalCenterWithPanelProperty, ValueBoxes.BooleanBox(value));
|
=> element.SetValue(AlignVerticalCenterWithPanelProperty, ValueBoxes.BooleanBox(value));
|
||||||
|
|
||||||
public static bool GetAlignVerticalCenterWithPanel(DependencyObject element)
|
public static bool GetAlignVerticalCenterWithPanel(DependencyObject element)
|
||||||
=> (bool)element.GetValue(AlignVerticalCenterWithPanelProperty);
|
=> (bool) element.GetValue(AlignVerticalCenterWithPanelProperty);
|
||||||
|
|
||||||
public static readonly DependencyProperty AlignHorizontalCenterWithProperty = DependencyProperty.RegisterAttached(
|
public static readonly DependencyProperty AlignHorizontalCenterWithProperty = DependencyProperty.RegisterAttached(
|
||||||
"AlignHorizontalCenterWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
"AlignHorizontalCenterWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
||||||
@@ -174,7 +174,7 @@ namespace HandyControl.Controls
|
|||||||
|
|
||||||
[TypeConverter(typeof(NameReferenceConverter))]
|
[TypeConverter(typeof(NameReferenceConverter))]
|
||||||
public static UIElement GetAlignHorizontalCenterWith(DependencyObject element)
|
public static UIElement GetAlignHorizontalCenterWith(DependencyObject element)
|
||||||
=> (UIElement)element.GetValue(AlignHorizontalCenterWithProperty);
|
=> (UIElement) element.GetValue(AlignHorizontalCenterWithProperty);
|
||||||
|
|
||||||
public static readonly DependencyProperty AlignVerticalCenterWithProperty = DependencyProperty.RegisterAttached(
|
public static readonly DependencyProperty AlignVerticalCenterWithProperty = DependencyProperty.RegisterAttached(
|
||||||
"AlignVerticalCenterWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
"AlignVerticalCenterWith", typeof(UIElement), typeof(RelativePanel), new FrameworkPropertyMetadata(default(UIElement), FrameworkPropertyMetadataOptions.AffectsRender));
|
||||||
@@ -184,7 +184,7 @@ namespace HandyControl.Controls
|
|||||||
|
|
||||||
[TypeConverter(typeof(NameReferenceConverter))]
|
[TypeConverter(typeof(NameReferenceConverter))]
|
||||||
public static UIElement GetAlignVerticalCenterWith(DependencyObject element)
|
public static UIElement GetAlignVerticalCenterWith(DependencyObject element)
|
||||||
=> (UIElement)element.GetValue(AlignVerticalCenterWithProperty);
|
=> (UIElement) element.GetValue(AlignVerticalCenterWithProperty);
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user