TextInputPanel.CurrentInPlaceState 属性

获取输入面板的当前就地状态。

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

语法

声明
Public ReadOnly Property CurrentInPlaceState As InPlaceState
用法
Dim instance As TextInputPanel
Dim value As InPlaceState

value = instance.CurrentInPlaceState
public InPlaceState CurrentInPlaceState { get; }
public:
property InPlaceState CurrentInPlaceState {
    InPlaceState get ();
}
/** @property */
public InPlaceState get_CurrentInPlaceState()
public function get CurrentInPlaceState () : InPlaceState

属性值

类型:Microsoft.Ink.TextInput.InPlaceState
InPlaceState 枚举所指定的输入面板的当前就地状态。

备注

当输入面板关闭或隐藏时,当前就地状态将重置为默认状态,除非默认状态是 Auto,在此情况下,当前就地状态重置为 HoverTarget

示例

下面的示例演示 CurrentInPlaceState 的用法。tip 对象是 TextInputPanel 的实例。CurrentInPlaceState 值用于设置 TextBox (outputTextBox) 的 TextBox.Text 属性。

outputTextBox.Text += "Current In Place State is " + tip.CurrentInPlaceState.ToString() + Environment.NewLine
outputTextBox.Text += "Current In Place State is " + tip.CurrentInPlaceState + 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 命名空间