TextInputPanel.CurrentInteractionMode 属性

获取 Tablet PC 输入面板的定位。

命名空间:  Microsoft.Ink.TextInput
程序集:  Microsoft.Ink(在 Microsoft.Ink.dll 中)

语法

声明
Public ReadOnly Property CurrentInteractionMode As InteractionMode
用法
Dim instance As TextInputPanel
Dim value As InteractionMode

value = instance.CurrentInteractionMode
public InteractionMode CurrentInteractionMode { get; }
public:
property InteractionMode CurrentInteractionMode {
    InteractionMode get ();
}
/** @property */
public InteractionMode get_CurrentInteractionMode()
public function get CurrentInteractionMode () : InteractionMode

属性值

类型:Microsoft.Ink.TextInput.InteractionMode
Tablet PC 输入面板的定位。

备注

当前交互模式由用户指定。但是,InPlace 模式可由应用程序针对每个字段禁用。

示例

下面的示例演示 CurrentInteractionMode 的用法。tip 对象是 TextInputPanel 的实例。CurrentInteractionMode 值用于设置 TextBox (outputTextBox) 的 TextBox.Text 属性。CurrentInteractionMode 包含 InteractionMode 值之一。

outputTextBox.Text += "Current Interaction Mode is " + tip.CurrentInteractionMode.ToString() + Environment.NewLine
outputTextBox.Text += "Current Interaction Mode is " + tip.CurrentInteractionMode + Environment.NewLine;

平台

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

TextInputPanel 类

TextInputPanel 成员

Microsoft.Ink.TextInput 命名空间