CaptureMode Enumeration
.NET Framework 4.5
Specifies the mouse capture policies.
Namespace: System.Windows.Input
Assembly: PresentationCore (in PresentationCore.dll)
| Member name | Description | |
|---|---|---|
| None | No mouse capture. Mouse input goes to the element under the mouse. | |
| Element | Mouse capture is applied to a single element. Mouse input goes to the captured element. | |
| SubTree | Mouse capture is applied to a subtree of elements. If the mouse is over a child of the element with capture, mouse input is sent to the child element. Otherwise, mouse input is sent to the element with mouse capture. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.