VirtualizeAnchorMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls how the viewport behaves at the edges of the list when new items arrive. Flags can be combined to pin both edges.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum VirtualizeAnchorMode
[<System.Flags>]
type VirtualizeAnchorMode =
Public Enum VirtualizeAnchorMode
- Inheritance
-
VirtualizeAnchorMode
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | No edge pinning. The viewport stays at its current scroll position regardless of item changes. |
| Beginning | 1 | Pins the viewport to the beginning of the list. When the user is at or near the top and new items arrive at the beginning, the viewport stays at the top showing the newest items — matching standard news feed / notification list UX. |
| End | 2 | Pins the viewport to the end of the list. When the user is at or near the bottom and new items arrive at the end, the viewport auto-scrolls to show them. If the user has scrolled away, auto-scroll disengages until they return to the bottom — matching standard chat / log UX. |