ItemsUpdatingScrollMode 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.
Specifies the scroll behavior when items are added, removed, or updated in an items view.
public enum class ItemsUpdatingScrollMode
public enum ItemsUpdatingScrollMode
type ItemsUpdatingScrollMode =
Public Enum ItemsUpdatingScrollMode
- Inheritance
-
ItemsUpdatingScrollMode
Fields
| Name | Value | Description |
|---|---|---|
| KeepItemsInView | 0 | The view scrolls to keep currently visible items in view as items are updated. This is the default behavior, maintaining the current scroll position relative to visible items. |
| KeepScrollOffset | 1 | The view maintains the current scroll offset as items are updated. The absolute scroll position remains fixed, which may cause different items to become visible. |
| KeepLastItemInView | 2 | The view scrolls to keep the last item visible as items are updated. This is useful for chat-like interfaces where new items are added at the end. |