This documentation is archived and is not being maintained.

TextInputPanel.DefaultInputArea Property

Gets or sets the default input area.

Namespace:  Microsoft.Ink.TextInput
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

public PanelInputArea DefaultInputArea { get; set; }

Property Value

Type: Microsoft.Ink.TextInput.PanelInputArea
The default input area.

The system default is Auto, except in password fields where the system default is Keyboard. Setting the default input area overrides the system default in all cases, except when an input area is unavailable due to an unsupported recognizer for the current input language or unsupported recognizer mode.

The following example demonstrates the use of DefaultInputArea. The tip object is an instance of TextInputPanel. The CurrentInputArea and DefaultInputArea values are used to set the TextBox.Text property of a TextBox, outputTextBox. CurrentInputArea and DefaultInputArea contain one of the PanelInputArea values.

outputTextBox.Text += "Current Input Area is " + tip.CurrentInputArea + Environment.NewLine;
outputTextBox.Text += "Default Input Area is " + tip.DefaultInputArea + Environment.NewLine;

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.0
Show: