TextPatternIdentifiers.TextChangedEvent Campo

Definizione

Identifica l'evento generato ogni volta che viene modificato il contenuto testuale.

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 

Valore del campo

AutomationEvent

Esempio

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)

Commenti

Questo identificatore viene usato dai provider di Automazione interfaccia utente. Automazione interfaccia utente applicazioni client devono usare il campo equivalente in TextPattern.

Si applica a

Vedi anche