TextPatternIdentifiers.TextChangedEvent Pole

Definicja

Określa zdarzenie zgłaszane za każdym razem, gdy zawartość tekstowa jest modyfikowana.

public: static initonly System::Windows::Automation::AutomationEvent ^ TextChangedEvent;
public static readonly System.Windows.Automation.AutomationEvent TextChangedEvent;
 staticval mutable TextChangedEvent : System.Windows.Automation.AutomationEvent
Public Shared ReadOnly TextChangedEvent As AutomationEvent 

Wartość pola

AutomationEvent

Przykłady

AutomationEventHandler ehTextChanged = new AutomationEventHandler(onTextChange);
Automation.AddAutomationEventHandler(TextPattern.TextChangedEvent, textProvider, TreeScope.Element, ehTextChanged);
Dim ehTextChanged As AutomationEventHandler = New AutomationEventHandler(AddressOf onTextChange)
System.Windows.Automation.Automation.AddAutomationEventHandler(TextPattern.TextChangedEvent, textProvider, TreeScope.Element, ehTextChanged)

Uwagi

Ten identyfikator jest używany przez dostawców automatyzacja interfejsu użytkownika. automatyzacja interfejsu użytkownika aplikacje klienckie powinny używać odpowiedniego pola w pliku TextPattern.

Dotyczy

Zobacz też