IInputElement.IsMouseOver Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the mouse pointer is located over this element (including visual children elements that are inside its bounds).
public:
property bool IsMouseOver { bool get(); };
public bool IsMouseOver { get; }
member this.IsMouseOver : bool
Public ReadOnly Property IsMouseOver As Boolean
Property Value
true
if the mouse pointer is over the element or its child elements; 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.IsMouseOver and UIElement.IsMouseOver) establish this property as a dependency property.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för