1
0
Fork 0
Backup-Essentials/BackupEssentials/Controls/ButtonTitleBar.cs

38 lines
1.8 KiB
C#

using System.Windows;
using System.Windows.Controls;
namespace BackupEssentials.Controls{
public class ButtonTitleBar:Button{
public static readonly DependencyProperty PathDataProperty = DependencyProperty.Register("CXPathData",typeof(string),typeof(ButtonTitleBar));
public static readonly DependencyProperty PathWidthProperty = DependencyProperty.Register("CXPathWidth",typeof(string),typeof(ButtonTitleBar));
public static readonly DependencyProperty PathHeightProperty = DependencyProperty.Register("CXPathHeight",typeof(string),typeof(ButtonTitleBar));
public static readonly DependencyProperty PathMarginProperty = DependencyProperty.Register("CXPathMargin",typeof(string),typeof(ButtonTitleBar));
public static readonly DependencyProperty PathRotationProperty = DependencyProperty.Register("CXPathRotation",typeof(double),typeof(ButtonTitleBar));
public string CXPathData{
get { return (string)base.GetValue(PathDataProperty); }
set { base.SetValue(PathDataProperty,(string)value); }
}
public string CXPathWidth{
get { return (string)base.GetValue(PathWidthProperty); }
set { base.SetValue(PathWidthProperty,(string)value); }
}
public string CXPathHeight{
get { return (string)base.GetValue(PathHeightProperty); }
set { base.SetValue(PathHeightProperty,(string)value); }
}
public string CXPathMargin{
get { return (string)base.GetValue(PathMarginProperty); }
set { base.SetValue(PathMarginProperty,(string)value); }
}
public double CXPathRotation{
get { return (double)base.GetValue(PathRotationProperty); }
set { base.SetValue(PathRotationProperty,(double)value); }
}
}
}