static private Track ( |
||
e | ||
Résultat | void |
private static void OnWatermarkTextChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { var textBox = o as TextBox; if (textBox == null) { return; } Visible.Track(textBox); UpdateIsShowing(textBox); }
private static void OnTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { Visible.Track(d as UIElement); UpdateIsShowing(d); }