12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Windows;
- using System.Windows.Controls;
- namespace Venus_Themes.UserControls
- {
- /// <summary>
- /// TextBlockWithLabel.xaml 的交互逻辑
- /// </summary>
- public partial class TextBlockWithLabel : UserControl
- {
- public TextBlockWithLabel()
- {
- InitializeComponent();
- }
- public static readonly DependencyProperty LabelValueProperty = DependencyProperty.Register(
- "LabelValue", typeof(string), typeof(TextBlockWithLabel));
- public string LabelValue
- {
- get { return (string)this.GetValue(LabelValueProperty); }
- set { this.SetValue(LabelValueProperty, value); }
- }
- public static readonly DependencyProperty TextBoxValueProperty = DependencyProperty.Register(
- "TextBoxValue", typeof(string), typeof(TextBlockWithLabel));
- public string TextBoxValue
- {
- get { return (string)this.GetValue(TextBoxValueProperty); }
- set { this.SetValue(TextBoxValueProperty, value); }
- }
- }
- }
|