Share via


TextPatternRangeEndpoint Enum

Definition

Identifies text range endpoints for methods of ITextRangeProvider.

public enum class TextPatternRangeEndpoint
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class TextPatternRangeEndpoint
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum TextPatternRangeEndpoint
Public Enum TextPatternRangeEndpoint
Inheritance
TextPatternRangeEndpoint
Attributes

Windows requirements

Requirements Description
Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Start 0

The start point of the range.

End 1

The endpoint of the range.

Remarks

ITextRangeProvider is the definition interface if you want to support the TextRange automation pattern as part of a Windows Runtime custom control. For more info, see ITextRangeProvider or Text and TextRange Control Patterns.

Applies to

See also