Track() 정적인 개인적인 메소드

static private Track ( UIElement e ) : void
e System.Windows.UIElement
리턴 void
예제 #1
0
        private static void OnWatermarkTextChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            var textBox = o as TextBox;

            if (textBox == null)
            {
                return;
            }

            Visible.Track(textBox);
            UpdateIsShowing(textBox);
        }
예제 #2
0
 private static void OnTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
 {
     Visible.Track(d as UIElement);
     UpdateIsShowing(d);
 }