IScrollAnchorProvider Interface

Specifies a contract for a scrolling control that supports scroll anchoring.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public interface IScrollAnchorProvider

Properties

CurrentAnchor The currently chosen anchor element to use for scroll anchoring.

Methods

RegisterAnchorCandidate(Control) Registers a control as a potential scroll anchor candidate.
UnregisterAnchorCandidate(Control) Unregisters a control as a potential scroll anchor candidate.

See Also