ITextRangeProvider2 interface

ITextRangeProvider2 interface

Extends the ITextRange interface to enable Microsoft UI Automation providers to programmatically open context menus that are contextual to text input operations.

Syntax


public interface ITextRangeProvider2 : ITextRangeProvider

Members

The ITextRangeProvider2 interface has these types of members:

Methods

The ITextRangeProvider2 interface has these methods. It also inherits methods from the Object class.

MethodDescription
ShowContextMenu Shows the available context menu for the owner element.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Automation.Provider
Windows::UI::Xaml::Automation::Provider [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation.Provider
Windows::UI::Xaml::Automation::Provider [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06030000)]
[WebHostHidden()]

See also

ITextRangeProvider

 

 

Show:
© 2016 Microsoft