DXListView Class
Displays items as a vertical scrollable list.
Namespace: DevExpress.UI.Xaml.Layout
Assembly: DevExpress.UI.Xaml.Layout.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
public class DXListView :
ListView,
IDXListView,
ISupportSaveLoadControlState,
IScrollableControl
Remarks
You can add items to the DXListView directly via the Items inherited collection. To create items from data stored in a data source, use the ItemsSource and ItemTemplate inherited properties. An example at the bottom of this topic illustrates this approach.
The DXListView control is a descendant of the standard ListView class. So, it inherits the ListView’s built-in functionality and extends it with these:
- The DXListView.ItemNavigationTargetType property - Allows you to specify a page to be opened when an end-user clicks a DXListView item;
- The DXListView.ItemClickCommand property - Specifies the command to be invoked on an item click;
- Saving/restoring a scroll position when the application is suspended/resumed (this feature is supported when the DXListView resides within a DXPage).
Inheritance
Object
DependencyObject
Windows.UI.Xaml.UIElement
FrameworkElement
Control
Windows.UI.Xaml.Controls.ItemsControl
Windows.UI.Xaml.Controls.Primitives.Selector
Windows.UI.Xaml.Controls.ListViewBase
Windows.UI.Xaml.Controls.ListView
DXListView
See Also