Getting Started with WinUI ListView
This help article shows how to create a RadListView from scratch using the RadListView related classes in the Telerik UI for WinUI.
Assembly References
In order to use RadListView in your projects, you have to add references to the following assembly:
- Telerik.WinUI.Controls.dll
Defining the Control
To use the RadListView control in XAML, define a namespace that points to the Telerik.UI.Xaml.Controls.Data
namespace.
xmlns:telerikData="using:Telerik.UI.Xaml.Controls.Data"
Example 1: Adding RadListView in XAML
<telerikData:RadListView x:Name="listView" />
Example 2: Setting the ItemsSource
public MainWindow()
{
this.InitializeComponent();
this.listView.ItemsSource = Enum.GetNames(typeof(DayOfWeek)).ToList();
}