IPointerCaptured Property

Gets the control that is currently capturing by the pointer, if any.

Definition

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
IInputElement? Captured { get; }

Property Value

IInputElement

Remarks

When an element captures the pointer, it receives pointer input whether the cursor is within the control's bounds or not. To set the pointer capture, call the Capture(IInputElement) method.

See Also