TextBox.IsHandwritingViewEnabled Property

Definition

Gets or sets a value that indicates whether a user can enter text in the handwriting view.

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

Property Value

Boolean

bool

true to allow the user to enter text in the handwriting view; otherwise, false.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Examples

In this example, we disable the handwriting view by setting the IsHandwritingViewEnabled ​property of the TextBox control to false. All text controls that support the handwriting view support a similar property. ​

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

Remarks

When a user taps into a text input box using a Windows pen, the text box transforms to let the user write directly into it with a pen, rather than opening a separate input panel.

Text box with ink and suggestions

Applies to

See also