diff --git a/BackupEssentials/Controls/ButtonTitleBar.cs b/BackupEssentials/Controls/ButtonTitleBar.cs index c2e2ae4..73e622b 100644 --- a/BackupEssentials/Controls/ButtonTitleBar.cs +++ b/BackupEssentials/Controls/ButtonTitleBar.cs @@ -7,7 +7,7 @@ namespace BackupEssentials.Controls{ public static DependencyProperty PathWidthProperty = DependencyProperty.Register("CXPathWidth",typeof(string),typeof(ButtonTitleBar)); public static DependencyProperty PathHeightProperty = DependencyProperty.Register("CXPathHeight",typeof(string),typeof(ButtonTitleBar)); public static DependencyProperty PathMarginProperty = DependencyProperty.Register("CXPathMargin",typeof(string),typeof(ButtonTitleBar)); - public static DependencyProperty PathRotationProperty = DependencyProperty.Register("CXPathRotation",typeof(string),typeof(ButtonTitleBar)); + public static DependencyProperty PathRotationProperty = DependencyProperty.Register("CXPathRotation",typeof(double),typeof(ButtonTitleBar)); public string CXPathData{ get { return (string)base.GetValue(PathDataProperty); } @@ -29,9 +29,9 @@ namespace BackupEssentials.Controls{ set { base.SetValue(PathMarginProperty,(string)value); } } - public string CXPathRotation{ - get { return (string)base.GetValue(PathRotationProperty); } - set { base.SetValue(PathRotationProperty,(string)value); } + public double CXPathRotation{ + get { return (double)base.GetValue(PathRotationProperty); } + set { base.SetValue(PathRotationProperty,(double)value); } } } }