InputMethod.ImeSentenceMode InputMethod.ImeSentenceMode InputMethod.ImeSentenceMode InputMethod.ImeSentenceMode Property

定義

取得またはこの入力方法に関連付けられている入力方式エディターの現在の文モードを設定します。Gets or sets the current sentence mode for the input method editor associated with this input method.

public:
 property System::Windows::Input::ImeSentenceModeValues ImeSentenceMode { System::Windows::Input::ImeSentenceModeValues get(); void set(System::Windows::Input::ImeSentenceModeValues value); };
[get: System.Security.SecurityCritical]
[set: System.Security.SecurityCritical]
public System.Windows.Input.ImeSentenceModeValues ImeSentenceMode { get; set; }
member this.ImeSentenceMode : System.Windows.Input.ImeSentenceModeValues with get, set
Public Property ImeSentenceMode As ImeSentenceModeValues

プロパティ値

メンバー、ImeSentenceModeValues文モードを指定する列挙体。A member of the ImeSentenceModeValues enumerations specifying the sentence mode.

既定値は None です。The default value is None.

次の例では、使用する方法、ImeSentenceModeプロパティ。The following example demonstrates how to use the ImeSentenceMode property.

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()

適用対象

こちらもご覧ください