Stylus.SetIsTouchFeedbackEnabled(DependencyObject, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the value of the IsTouchFeedbackEnabled attached property on the specified element.
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)
Parameters
- element
- DependencyObject
The UIElement or ContentElement on which to enable tap feedback.
- enabled
- Boolean
true
to enable touch input feedback; false
to disable touch input feedback.
Examples
The following example enables touch feedback on an InkCanvas.
Stylus.SetIsTouchFeedbackEnabled(inkCanvas1, true);
Stylus.SetIsTouchFeedbackEnabled(inkCanvas1, True)
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.