-api-id | -api-type |
---|---|
T:Microsoft.UI.Xaml.Controls.ItemsSourceView |
winrt class |
Represents a standardized view of the supported interactions between a given ItemsSource object and an ItemsRepeater control.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
Components written to work with ItemsRepeater should consume the ItemsSource via ItemsSourceView since this provides a normalized view of the ItemsSource. That way, each component does not need to know if the source is an IEnumerable, an IVector, or something else.
Tip
For more info, design guidance, and code examples, see Items repeater.
[!div class="nextstepaction"] Open the WinUI 2 Gallery app and see the ItemsRepeater in action.
The WinUI 2 Gallery app includes interactive examples of most WinUI 2 controls, features, and functionality. Get the app from the Microsoft Store or get the source code on GitHub.