1
0
mirror of https://github.com/chylex/Backup-Essentials.git synced 2025-08-21 21:54:00 +02:00
Files
BackupEssentials
Backup
Controls
ButtonMainMenu.cs
ButtonTitleBar.cs
Data
Pages
Properties
Resources
Sys
Utils
App.xaml
App.xaml.cs
AppPageManager.cs
BackupEssentials.csproj
BackupReportWindow.xaml
BackupReportWindow.xaml.cs
BackupWindow.xaml
BackupWindow.xaml.cs
MainWindow.xaml
MainWindow.xaml.cs
TestingWindow.xaml
TestingWindow.xaml.cs
.gitignore
BackupEssentials.sln
LICENSE
README.md
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); }
}
}
}