Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft