using System.Windows; using System.Windows.Controls; namespace UniperHMI { /// /// Interaktionslogik für StringControlButton.xaml /// public partial class SMUControlButton : Button { public static readonly DependencyProperty SMUNameProperty = DependencyProperty.Register("SMUName", typeof(string), typeof(SMUControlButton)); public String SMUName { get { return (string)GetValue(SMUNameProperty); } set { SetValue(SMUNameProperty, value); } } public SMUControlButton() { InitializeComponent(); } } }