TextBoxSelectionChangingEventArgs クラス

定義

TextBox.SelectionChanging イベントのイベント データを提供します。

public ref class TextBoxSelectionChangingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class TextBoxSelectionChangingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class TextBoxSelectionChangingEventArgs
Public NotInheritable Class TextBoxSelectionChangingEventArgs
継承
Object Platform::Object IInspectable TextBoxSelectionChangingEventArgs
属性

注釈

このクラスのインスタンスは、 SelectionChanging イベント ハンドラーにパラメーターとして渡されます。

プロパティ

Cancel

選択操作を取り消す必要があるかどうかを示す値を取得または設定します。

SelectionLength

テキストの選択範囲の長さを取得します。

SelectionStart

テキスト選択の開始インデックスを取得します。

適用対象