Share via


ItemsUpdatingScrollMode Enum

Definition

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.

Applies to