MouseDevice.Captured Property

 

Gets the IInputElement that is captured by the mouse.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public IInputElement Captured { get; }

Property Value

Type: System.Windows.IInputElement

The element which is captured by the mouse.

When an element captures the mouse, it receives mouse input whether or not the cursor is within its borders.

.NET Framework
Available since 3.0
Return to top
Show: