System.Windows.Controls.TextBox.ChangeVisualState C# (CSharp) 메소드

ChangeVisualState() 개인적인 메소드

private ChangeVisualState ( ) : void
리턴 void
		void ChangeVisualState ()
		{
			ChangeVisualState (true);
		}

Same methods

TextBox::ChangeVisualState ( bool useTransitions ) : void

Usage Example

예제 #1
0
파일: TextBox.cs 프로젝트: ynkbt/moon
        static void IsReadOnlyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            TextBox textbox = sender as TextBox;

            textbox.ChangeVisualState(false);

            if (textbox.AutomationPeer != null)
            {
                textbox.AutomationPeer.RaisePropertyChangedEvent(ValuePatternIdentifiers.IsReadOnlyProperty,
                                                                 args.OldValue,
                                                                 args.NewValue);
            }
        }