Captured Property
Gets the control that is currently capturing by the pointer, if any.
Definition
Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
IInputElement? Captured { get; }
ReadOnly Property Captured As IInputElement
Get
abstract Captured : IInputElement with get
Property Value
IInputElementRemarks
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.