TextChangedEvent Field

TextPatternIdentifiers.TextChangedEvent Field


Identifies the event raised whenever textual content is modified.

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

Public Shared ReadOnly TextChangedEvent As AutomationEvent

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

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

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft