TextRange Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a selection of text content.
public value class TextRange
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
struct TextRange
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public struct TextRange
Public Structure TextRange
- Inheritance
-
TextRange
- Attributes
Fields
Length |
The length of the current selection, in Unicode characters. |
StartIndex |
The position that marks the beginning of the current selection, measured in Unicode characters from the beginning of the text. |