Skip to content

ListView class

Defined in

Namespace: CrissCross.Avalonia.UI.Controls Assembly: CrissCross.Avalonia.UI.dll Full name: CrissCross.Avalonia.UI.Controls.ListView Modifiers: public

Summary

        Represents a list control that displays items in different visual states, such as a default list or a grid view.
        

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471

Class hierarchy
classDiagram
class ListView
class ListBox
ListBox <|-- ListView

Inherits from: ListBox

Remarks

ListView extends ListBox to provide additional functionality for switching between visual representations of its items. The visual state can be controlled using the ViewState property. This control is commonly used to present collections of data in either a standard list or a grid layout, depending on the application's requirements.

Constructors

NameSummary
.ctor

Properties

NameSummary
ViewStateGets or sets the current visual state of the list (Default or GridView).

Fields

NameSummary
static ViewStatePropertyDependency property backing [ViewState](#
Inherited members