IInputElement.IsMouseDirectlyOver IInputElement.IsMouseDirectlyOver IInputElement.IsMouseDirectlyOver IInputElement.IsMouseDirectlyOver Property

Definition

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

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

Property Value

true if the mouse pointer is over this 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.IsMouseDirectlyOver and UIElement.IsMouseDirectlyOver) establish this property as a dependency property.

Applies to

See also