Export (0) Print
Expand All

TextPatternIdentifiers::TextChangedEvent Field

Identifies the event raised whenever textual content is modified.

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

public:
static initonly 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);
Dim ehTextChanged As AutomationEventHandler = New AutomationEventHandler(AddressOf onTextChange)
System.Windows.Automation.Automation.AddAutomationEventHandler(TextPattern.TextChangedEvent, textProvider, TreeScope.Element, ehTextChanged)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft