Ejemplo n.º 1
0
        private static void OnChangePlaceholder(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PasswordBoxAdorner elem = d as PasswordBoxAdorner;

            if (elem != null)
            {
                elem.hold();
            }
        }
Ejemplo n.º 2
0
        private static void OnChangeIconHeight(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PasswordBoxAdorner elem = d as PasswordBoxAdorner;

            elem.imgIcon.Height = elem.IconHeight;
        }
Ejemplo n.º 3
0
        private static void OnChangeSource(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PasswordBoxAdorner elem = d as PasswordBoxAdorner;

            elem.imgIcon.Source = elem.IconSource;
        }