TextInputPanel.DefaultInputArea Property
Gets or sets the default input area.
Namespace: Microsoft.Ink.TextInput
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Property DefaultInputArea As PanelInputArea
'Usage
Dim instance As TextInputPanel
Dim value As PanelInputArea
value = instance.DefaultInputArea
instance.DefaultInputArea = value
public PanelInputArea DefaultInputArea { get; set; }
public:
property PanelInputArea DefaultInputArea {
PanelInputArea get ();
void set (PanelInputArea value);
}
public function get DefaultInputArea () : PanelInputArea
public function set DefaultInputArea (value : PanelInputArea)
Property Value
Type: Microsoft.Ink.TextInput.PanelInputArea
The default input area.
Remarks
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.
Examples
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.ToString() + Environment.NewLine
outputTextBox.Text += "Default Input Area is " + tip.DefaultInputArea.ToString() + Environment.NewLine
outputTextBox.Text += "Current Input Area is " + tip.CurrentInputArea + Environment.NewLine;
outputTextBox.Text += "Default Input Area is " + tip.DefaultInputArea + Environment.NewLine;
Platforms
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.
Version Information
.NET Framework
Supported in: 3.0