-api-id | -api-type |
---|---|
E:Microsoft.UI.Xaml.Controls.ListViewBase.ContainerContentChanging |
winrt event |
Occurs when the data item associated with a UI container changes.
<listViewBase ContainerContentChanging="eventhandler" />
This event is raised only if the list or grid's ItemsPanel is an ItemsStackPanel or ItemsWrapGrid. If you replace the ItemsPanel with another panel, the event is not raised.
For info and examples, see the Update ListView and GridView items incrementally section of Optimize ListView and GridView.
For more examples, download the XAML GridView grouping and SemanticZoom sample.
Optimize ListView and GridView, XAML GridView grouping and SemanticZoom sample