123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Media;
- namespace athosThemes.UserControls
- {
- public partial class StateTitle : UserControl
- {
- public StateTitle()
- {
- InitializeComponent();
- }
- public static readonly DependencyProperty LabelColorProperty = DependencyProperty.Register(
- "LabelColor", typeof(SolidColorBrush), typeof(StateTitle), new PropertyMetadata(new SolidColorBrush((Color)ColorConverter.ConvertFromString("#838B83"))));
- public SolidColorBrush LabelColor
- {
- get { return (SolidColorBrush)this.GetValue(LabelColorProperty); }
- set { this.SetValue(LabelColorProperty, value); }
- }
- public static readonly DependencyProperty TextBoxColorProperty = DependencyProperty.Register(
- "TextBoxColor", typeof(SolidColorBrush), typeof(StateTitle));
- public SolidColorBrush TextBoxColor
- {
- get { return (SolidColorBrush)this.GetValue(TextBoxColorProperty); }
- set { this.SetValue(TextBoxColorProperty, value); }
- }
- public static readonly DependencyProperty TextBoxValueProperty = DependencyProperty.Register(
- "TextBoxValue", typeof(string), typeof(StateTitle));
- public string TextBoxValue
- {
- get { return (string)this.GetValue(TextBoxValueProperty); }
- set { this.SetValue(TextBoxValueProperty, value); }
- }
- public static readonly DependencyProperty TitleProperty = DependencyProperty.Register(
- "Title", typeof(string), typeof(StateTitle));
- public string Title
- {
- get { return (string)this.GetValue(TitleProperty); }
- set { this.SetValue(TitleProperty, value); }
- }
- }
- }
|