Stylus.GetIsTouchFeedbackEnabled(DependencyObject) 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.
Gets the value of the IsTouchFeedbackEnabled attached property on the specified element.
public:
static bool GetIsTouchFeedbackEnabled(System::Windows::DependencyObject ^ element);
public static bool GetIsTouchFeedbackEnabled (System.Windows.DependencyObject element);
static member GetIsTouchFeedbackEnabled : System.Windows.DependencyObject -> bool
Public Shared Function GetIsTouchFeedbackEnabled (element As DependencyObject) As Boolean
Parameters
- element
- DependencyObject
A UIElement or ContentElement on which to determine whether touch input feedback enabled.
Returns
true
if touch input feedback is enabled, otherwise false
.
Examples
The following example demonstrates how to determine whether tap feedback is enabled on an InkCanvas.
bool touchFeedbackEnabled = Stylus.GetIsTouchFeedbackEnabled(inkCanvas1);
Dim touchFeedbackEnabled As Boolean = _
Stylus.GetIsTouchFeedbackEnabled(inkCanvas1)
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.