Stylus.GetIsPressAndHoldEnabled Method (DependencyObject)
.NET Framework (current version)
Gets the value of the IsPressAndHoldEnabled attached property on the specified element.
Assembly: PresentationCore (in PresentationCore.dll)
[<AttachedPropertyBrowsableForTypeAttribute(typeof(DependencyObject))>] static member GetIsPressAndHoldEnabled : element:DependencyObject -> bool
Parameters
- element
-
Type:
System.Windows.DependencyObject
A UIElement or ContentElement on which to determine whether press and hold is enabled.
Return Value
Type: System.Booleantrue if the specified element has press and hold enabled; otherwise, false;
.NET Framework
Available since 3.0
Available since 3.0
Show: