using System.Windows; using System.Windows.Controls; namespace UniperHMI { /// /// Interaktionslogik für UnitControl.xaml /// public partial class UnitDetailsControl : UserControl { public static readonly DependencyProperty UnitNameProperty = DependencyProperty.Register("UnitName", typeof(string), typeof(UnitDetailsControl)); public String UnitName { get { return (string)GetValue(UnitNameProperty); } set { SetValue(UnitNameProperty, value); } } public UnitDetailsControl() { InitializeComponent(); } } }