Export (0) Print
Expand All

PanelInputArea Enumeration

Specifies the values that represent the default input areas of the Tablet PC Input Panel.

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

public enum PanelInputArea

Member nameDescription
AutoIndicates that the system controls the default input area.
KeyboardIndicates that the keyboard is the default input area.
WritingPadIndicates that the writing pad is the default input area.
CharacterPadIndicates that the character pad is the default input area.

The following example demonstrates the use of PanelInputArea. The object, tip, 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

Community Additions

ADD
Show:
© 2014 Microsoft