ITextRangeProvider2 interface (uiautomationcore.h)

Extends the ITextRangeProvider interface to enable Microsoft UI Automation providers to invoke context menus.

Inheritance

The ITextRangeProvider2 interface inherits from ITextRangeProvider. ITextRangeProvider2 also has these types of members:

Methods

The ITextRangeProvider2 interface has these methods.

 
ITextRangeProvider2::ShowContextMenu

Programmatically invokes a context menu on the target element. (ITextRangeProvider2.ShowContextMenu)

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also

Conceptual

ITextRangeProvider

UI Automation Providers Overview