Interface IScrollAnchorProvider
Specifies a contract for a scrolling control that supports scroll anchoring.
public interface IScrollAnchorProvider
Properties
CurrentAnchor
The currently chosen anchor element to use for scroll anchoring.
Control? CurrentAnchor { get; }
Property Value
Methods
RegisterAnchorCandidate(Control)
Registers a control as a potential scroll anchor candidate.
void RegisterAnchorCandidate(Control element)
Parameters
element
ControlA control within the subtree of the IScrollAnchorProvider.
UnregisterAnchorCandidate(Control)
Unregisters a control as a potential scroll anchor candidate.
void UnregisterAnchorCandidate(Control element)
Parameters
element
ControlA control within the subtree of the IScrollAnchorProvider.