Summary
Specifies a contract for a scrolling control that supports scroll anchoring.
- Namespace
- Avalonia
.Controls - Implementing Types
Syntax
public interface IScrollAnchorProvider
Properties
Name | Value | Summary |
---|---|---|
CurrentAnchor | IControl? |
The currently chosen anchor element to use for scroll anchoring.
|
Methods
Name | Value | Summary |
---|---|---|
Register |
void |
Registers a control as a potential scroll anchor candidate.
|
Unregister |
void |
Unregisters a control as a potential scroll anchor candidate.
|