編輯

共用方式為


IInputElement.IsStylusDirectlyOver Property

Definition

Gets a value that indicates whether the stylus is over this element in the strictest hit testing sense.

public:
 property bool IsStylusDirectlyOver { bool get(); };
public bool IsStylusDirectlyOver { get; }
member this.IsStylusDirectlyOver : bool
Public ReadOnly Property IsStylusDirectlyOver As Boolean

Property Value

true if the stylus is over the element; otherwise, false.

Remarks

This interface is not intended for public implementation. For more information, see remarks for the IInputElement interface.

Existing implementations in the Windows Presentation Foundation (WPF) core (see ContentElement.IsStylusDirectlyOver and UIElement.IsStylusDirectlyOver) establish this property as a dependency property.

Applies to

See also