InputMethod.GetPreferredImeState(DependencyObject) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne la valeur de la PreferredImeState propriété jointe pour un objet de dépendance spécifié.
public:
static System::Windows::Input::InputMethodState GetPreferredImeState(System::Windows::DependencyObject ^ target);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.Input.InputMethodState GetPreferredImeState(System.Windows.DependencyObject target);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetPreferredImeState : System.Windows.DependencyObject -> System.Windows.Input.InputMethodState
Public Shared Function GetPreferredImeState (target As DependencyObject) As InputMethodState
Paramètres
- target
- DependencyObject
Objet de dépendance pour lequel récupérer la valeur de PreferredImeState.
Retours
Membre de l’énumération InputMethodState spécifiant le courant PreferredImeState de l’objet de dépendance spécifié.
- Attributs
Exceptions
Déclenché lorsqu’il target s’agit de null.