CoreTextRange Struct

Definition

Defines a range of text inside a text input control.

public value class CoreTextRange
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct CoreTextRange
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct CoreTextRange
var coreTextRange = {
startCaretPosition : /* Your value */,
endCaretPosition : /* Your value */
}
Public Structure CoreTextRange
Inheritance
CoreTextRange
Attributes

Windows requirements

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

Fields

EndCaretPosition

The end position of a range in Application Character Position (ACP) terms.

StartCaretPosition

The start position of a range in Application Character Position (ACP) terms.

Applies to