次の方法で共有


TextRange 構造体

定義

テキスト コンテンツの選択範囲を表します。

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
継承
TextRange
属性

フィールド

Length

Unicode 文字での現在の選択範囲の長さ。

StartIndex

テキストの先頭から Unicode 文字で測定された、現在の選択範囲の先頭を示す位置。

適用対象