Upravit

Sdílet prostřednictvím


Handling Text-related Events

This topic describes the events raised by text-based controls when content is changed, selected, or deselected.

Text-based controls raise a UIA_Text_TextChangedEventId event whenever the textual content changes. They raise the UIA_Text_TextSelectionChangedEventId event whenever textual content is selected or deselected. For more information, see UI Automation Events Overview and Subscribing to UI Automation Events.

Text and TextRange Control Patterns

UI Automation Support for Textual Content

Working with Text-based Controls