次の方法で共有


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 値の 1 つが格納されています。

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 名前空間