Редагувати

Поділитися через


MouseDevice.Captured Property

Definition

Gets the IInputElement that is captured by the mouse.

public:
 property System::Windows::IInputElement ^ Captured { System::Windows::IInputElement ^ get(); };
public System.Windows.IInputElement Captured { get; }
member this.Captured : System.Windows.IInputElement
Public ReadOnly Property Captured As IInputElement

Property Value

The element which is captured by the mouse.

Remarks

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

Applies to