IScrollAnchorProvider Interface

Summary

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

Syntax

public interface IScrollAnchorProvider

Properties

Name Value Summary
CurrentAnchor IControl?
The currently chosen anchor element to use for scroll anchoring.

Methods

Name Value Summary
RegisterAnchorCandidate(IControl) void
Registers a control as a potential scroll anchor candidate.
UnregisterAnchorCandidate(IControl) void
Unregisters a control as a potential scroll anchor candidate.