private static void OnHeaderChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { UserTemplate instance = d as UserTemplate; instance.HeaderTxtblck.Text = e.NewValue.ToString(); }
private static void OnTextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { UserTemplate instance = d as UserTemplate; instance.DescriptionTxtblck.ToolTip = instance.DescriptionTxtblck.Text = e.NewValue.ToString(); }