Stylus::GetIsTapFeedbackEnabled Method (DependencyObject^)


Gets the value of the IsTapFeedbackEnabled attached property on the specified element.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

static bool GetIsTapFeedbackEnabled(
	DependencyObject^ element


Type: System.Windows::DependencyObject^

A UIElement or ContentElement on which to determine whether tap feedback enabled.

Return Value

Type: System::Boolean

true if the specified element has tap feedback enabled; otherwise, false.

In Windows Vista, a short animation occurs when the user taps the control. By default, tap feedback is disabled on the InkCanvas. It is enabled on all other controls.

The following example demonstrates how to determine whether tap feedback is enabled on a Canvas.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top