ITextRangeProvider2 interface (uiautomationcore.h)
Extends the ITextRangeProvider interface to enable Microsoft UI Automation providers to invoke context menus.
The ITextRangeProvider2 interface inherits from ITextRangeProvider. ITextRangeProvider2 also has these types of members:
The ITextRangeProvider2 interface has these methods.
ITextRangeProvider2::ShowContextMenu Programmatically invokes a context menu on the target element. (ITextRangeProvider2.ShowContextMenu) |
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) |
Conceptual