Exporter (0) Imprimer
Développer tout

InputMethod.HandwritingState, propriété

Gets or sets the current state of handwriting input for this input method.

Espace de noms: System.Windows.Input
Assembly : PresentationCore (dans presentationcore.dll)
Espace de noms XML :  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public InputMethodState HandwritingState { get; set; }
/** @property */
public InputMethodState get_HandwritingState ()

/** @property */
public void set_HandwritingState (InputMethodState value)

public function get HandwritingState () : InputMethodState

public function set HandwritingState (value : InputMethodState)

Vous ne pouvez pas utiliser cette propriété dans XAML.

Valeur de la propriété

A member of the InputMethodState enumeration specifying the current input method state for handwriting input. The default value is Off.

The following example demonstrates how to use the Current 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();

Microsoft .NET Framework 3.0 est pris en charge sur Windows Vista, Microsoft Windows XP SP2 et Windows Server 2003 SP1.

.NET Framework

Prise en charge dans : 3.0

Ajouts de la communauté

AJOUTER
Afficher:
© 2014 Microsoft