ITextChildProvider
ITextChildProvider
ITextChildProvider
ITextChildProvider
Interface
Definition
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.
public : interface ITextChildProviderpublic interface ITextChildProviderPublic Interface ITextChildProvider// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
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++ API as they use to define control logic or other automation support.
The ITableItemProvider pattern doesn't have a pattern property identifier class.
Properties
TextContainer TextContainer TextContainer TextContainer
Gets this element's nearest ancestor provider that supports the Text (ITextProvider ) control pattern.
public : IRawElementProviderSimple TextContainer { get; }public IRawElementProviderSimple TextContainer { get; }Public ReadOnly Property TextContainer As IRawElementProviderSimple// This API is not available in Javascript.
- Value
- IRawElementProviderSimple IRawElementProviderSimple IRawElementProviderSimple IRawElementProviderSimple
The nearest ancestor provider that supports the Text (ITextProvider ) control pattern.
TextRange TextRange TextRange TextRange
Gets a text range that encloses this child element.
public : ITextRangeProvider TextRange { get; }public ITextRangeProvider TextRange { get; }Public ReadOnly Property TextRange As ITextRangeProvider// This API is not available in Javascript.
A text range that encloses this child element.