ITextRangeProvider2 interface

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

Methods

The ITextRangeProvider2 interface has these methods.

Method Description
ITextRangeProvider2::ShowContextMenu Programmatically invokes a context menu on the target element.

Requirements

   
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