ITextChildProvider interface

Applies to Windows and Windows Phone

Provides access to a text-based control that is a child of another text-based control. Implement this interface in order to support the capabilities that an automation client requests with a GetPattern call and PatternInterface.TextChild.

Syntax


public interface class ITextChildProvider

Attributes

[Version(0x06020000)]
[WebHostHidden()]

Members

The ITextChildProvider interface has these types of members:

Properties

The ITextChildProvider interface has these properties.

PropertyAccess typeDescription

TextContainer

Read-onlyGets this element's nearest ancestor provider that supports the Text (ITextProvider) control pattern.

TextRange

Read-onlyGets a text range that encloses this child element.

 

Remarks

This pattern has guidelines and conventions that aren't fully documented here. For more info on what this pattern is for, see TextChild Control Pattern.

ITextChildProvider isn't implemented by any existing Windows Runtime automation peers. The interface exists so that custom control authors can support the automation pattern in a custom control, and implement their automation support using the same Windows Runtime managed or C++ APIs as they use to define control logic or other automation support.

The ITableItemProvider pattern doesn't have a pattern property identifier class.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

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

See also

ITextChildProvider (COM interface)
TextChild Control Pattern
Custom automation peers

 

 

Show:
© 2014 Microsoft