InputMethod.CanShowConfigurationUI プロパティ

定義

この入力メソッドが構成ユーザー インターフェイス (UI) を表示できるかどうかを示す値を取得します。

public:
 property bool CanShowConfigurationUI { bool get(); };
public bool CanShowConfigurationUI { get; }
member this.CanShowConfigurationUI : bool
Public ReadOnly Property CanShowConfigurationUI As Boolean

プロパティ値

true 構成 UI を表示できる場合は 。それ以外の場合は false

このプロパティには既定値はありません。

次の例では、 プロパティを使用して、 CanShowConfigurationUI 構成 UI が表示可能かどうかを判断する方法を示します。

InputMethod.SetPreferredImeState(myTextBox, InputMethodState.On);
InputMethod.Current.ImeSentenceMode = ImeSentenceModeValues.Automatic;
InputMethod.Current.HandwritingState = InputMethodState.On;
InputMethod.Current.SpeechMode = SpeechMode.Dictation;
InputScope myInputScope = new InputScope();
myInputScope.RegularExpression = "W|P|F";
InputMethod.SetInputScope(myTextBox, myInputScope);
tb6.Text = "Configuration UI Available?: " + InputMethod.Current.CanShowConfigurationUI.ToString();
InputMethod.SetPreferredImeState(myTextBox, InputMethodState.On)
InputMethod.Current.ImeSentenceMode = ImeSentenceModeValues.Automatic
InputMethod.Current.HandwritingState = InputMethodState.On
InputMethod.Current.SpeechMode = SpeechMode.Dictation
Dim myInputScope As New InputScope()
myInputScope.RegularExpression = "W|P|F"
InputMethod.SetInputScope(myTextBox, myInputScope)
tb6.Text = "Configuration UI Available?: " & InputMethod.Current.CanShowConfigurationUI.ToString()

適用対象

こちらもご覧ください