TextPatternIdentifiers.TextChangedEvent Field

 

Identifies the event raised whenever textual content is modified.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

public static readonly AutomationEvent TextChangedEvent

This identifier is used by UI Automation providers. UI Automation client applications should use the equivalent field in TextPattern.

AutomationEventHandler ehTextChanged = new AutomationEventHandler(onTextChange);
Automation.AddAutomationEventHandler(TextPattern.TextChangedEvent, textProvider, TreeScope.Element, ehTextChanged);

.NET Framework
Available since 3.0
Return to top
Show: