InputMethod.ImeSentenceMode Propiedad

Definición

Obtiene o establece el modo de oraciones actual para el editor del método de entrada asociado a este método de entrada.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); };
public System.Windows.Input.ImeSentenceModeValues ImeSentenceMode { get; set; }
[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
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.ImeSentenceMode : System.Windows.Input.ImeSentenceModeValues with get, set
Public Property ImeSentenceMode As ImeSentenceModeValues

Valor de propiedad

ImeSentenceModeValues

Miembro de las enumeraciones ImeSentenceModeValues que especifica el modo de oraciones.A member of the ImeSentenceModeValues enumerations specifying the sentence mode.

El valor predeterminado es None.The default value is None.

Atributos

Ejemplos

En el ejemplo siguiente se muestra cómo utilizar la ImeSentenceMode propiedad.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()

Se aplica a

Consulte también