IPointerCapture Method
Captures pointer input to the specified control.
Namespace: Avalonia.InputAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
void Capture(
IInputElement? control
)
Sub Capture (
control As IInputElement
)
abstract Capture :
control : IInputElement -> unit
Parameters
- control IInputElement
- The control.
When an element captures the pointer, it receives pointer input whether the cursor is
within the control's bounds or not. The current pointer capture control is exposed
by the
Captured property.