The requested page is not available for the requested platform. You are viewing the content for Default platform.

DXListView Class

Displays items as a vertical scrollable list.

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v19.1.dll

Declaration

public class DXListView :
    ListView,
    IDXListView,
    ISupportSaveLoadControlState,
    IScrollableControl
Public Class DXListView
    Inherits ListView
    Implements 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.

DXListView_ex

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