Freigeben über


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)

Syntax

'Declaration
Public Enumeration PanelInputArea
'Usage
Dim instance As PanelInputArea
public enum PanelInputArea
public enum class PanelInputArea
public enum PanelInputArea
public enum PanelInputArea

Members

  Member name Description
Auto Indicates that the system controls the default input area. 
CharacterPad Indicates that the character pad is the default input area. 
Keyboard Indicates that the keyboard is the default input area. 
WritingPad Indicates that the writing pad is the default input area. 

Example

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.TextTextBox.Text property of a TextBoxTextBox, 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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Microsoft.Ink.TextInput Namespace