Stylus.GetIsTapFeedbackEnabled(DependencyObject) 메서드

정의

지정된 요소에 대한 IsTapFeedbackEnabled 연결된 속성의 값을 설정합니다.

public:
 static bool GetIsTapFeedbackEnabled(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static bool GetIsTapFeedbackEnabled (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetIsTapFeedbackEnabled : System.Windows.DependencyObject -> bool
Public Shared Function GetIsTapFeedbackEnabled (element As DependencyObject) As Boolean

매개 변수

element
DependencyObject

탭 피드백의 사용 여부를 결정하는 UIElement 또는 ContentElement 입니다.

반환

지정된 요소에서 탭 피드백을 사용하면true 이고, 그렇지 않으면 false입니다.

특성

예제

다음 예제에서는 에서 탭 피드백을 사용할 Canvas수 있는지 여부를 확인하는 방법을 보여 줍니다.

bool tapFeedbackEnabled = Stylus.GetIsTapFeedbackEnabled(canvas1);
Dim tapFeedbackEnabled As Boolean = Stylus.GetIsTapFeedbackEnabled(canvas1)

설명

Windows Vista에서는 사용자가 컨트롤을 탭할 때 짧은 애니메이션이 발생합니다. 기본적으로 탭 피드백은 에서 사용하지 않도록 설정됩니다 InkCanvas. 다른 모든 컨트롤에서 사용하도록 설정됩니다.

적용 대상