Language

TextBox.IsHandwritingViewEnabled プロパティ

定義

ユーザーが手書きビューにテキストを入力できるかどうかを示す値を取得または設定します。

public:
 property bool IsHandwritingViewEnabled { bool get(); void set(bool value); };
bool IsHandwritingViewEnabled();

void IsHandwritingViewEnabled(bool value);
public bool IsHandwritingViewEnabled { get; set; }
var boolean = textBox.isHandwritingViewEnabled;
textBox.isHandwritingViewEnabled = boolean;
Public Property IsHandwritingViewEnabled As Boolean

プロパティ値

Boolean

bool

ユーザー が手書きビューにテキストを入力できるようにするには true。それ以外の場合は false。

Windows の要件

要件 説明
デバイス ファミリ
Windows 10, version 1803 (10.0.17134.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v6.0 で導入)

例

この例では、TextBox コントロールの IsHandwritingViewEnabled プロパティを false に設定することで、手書きビューを無効にします。 手書きビューをサポートするすべてのテキスト コントロールで、同様のプロパティがサポートされます。 ​

<TextBox Name="SampleTextBox"​
    Height="50" Width="500" ​
    FontSize="36" FontFamily="Segoe UI" ​
    PlaceholderText="Try taping with your pen" ​
    IsHandwritingViewEnabled="False">​
</TextBox>​

注釈

ユーザーが Windows ペンを使用してテキスト入力ボックスでタップすると、テキスト ボックスは変換され、ユーザーは別の入力パネルを開かなくても、ペンを使用して直接書き込むことができます。

インクと修正候補を含むテキスト ボックス

適用対象

こちらもご覧ください