ItemsView.ItemsUpdatingScrollMode Property
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.
Gets or sets the scroll behavior when items are added, removed, or updated in the collection.
public:
property Microsoft::Maui::Controls::ItemsUpdatingScrollMode ItemsUpdatingScrollMode { Microsoft::Maui::Controls::ItemsUpdatingScrollMode get(); void set(Microsoft::Maui::Controls::ItemsUpdatingScrollMode value); };
public Microsoft.Maui.Controls.ItemsUpdatingScrollMode ItemsUpdatingScrollMode { get; set; }
member this.ItemsUpdatingScrollMode : Microsoft.Maui.Controls.ItemsUpdatingScrollMode with get, set
Public Property ItemsUpdatingScrollMode As ItemsUpdatingScrollMode
Property Value
An ItemsUpdatingScrollMode value. The default is KeepItemsInView.
Remarks
This property controls how the view maintains its scroll position when the ItemsSource changes. Use KeepLastItemInView for chat-like interfaces where new items are added at the end.