TextBoxBeforeTextChangingEventArgs クラス

定義

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

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

注釈

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

プロパティ

Cancel

テキストの変更を取り消すかどうかを示す値を取得または設定します。

NewText

テキスト ボックスに入力された新しいテキストを取得します。

適用対象