Stylus.SetIsTouchFeedbackEnabled(DependencyObject, Boolean) 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.
Définit la valeur de la IsTouchFeedbackEnabled propriété jointe sur l’élément spécifié.
public:
static void SetIsTouchFeedbackEnabled(System::Windows::DependencyObject ^ element, bool enabled);
public static void SetIsTouchFeedbackEnabled(System.Windows.DependencyObject element, bool enabled);
static member SetIsTouchFeedbackEnabled : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetIsTouchFeedbackEnabled (element As DependencyObject, enabled As Boolean)
Paramètres
- element
- DependencyObject
UIElement Ou ContentElement sur lequel activer le retour d’appui.
- enabled
- Boolean
true pour activer les commentaires d’entrée tactile ; false pour désactiver les commentaires d’entrée tactile.
Exemples
L’exemple suivant active les commentaires tactiles sur un InkCanvas.
Stylus.SetIsTouchFeedbackEnabled(inkCanvas1, true);
Stylus.SetIsTouchFeedbackEnabled(inkCanvas1, True)