Skip to content

VirtualizingGridView class

Defined in

Namespace: CrissCross.WPF.UI.Controls Assembly: CrissCross.WPF.UI.dll Full name: CrissCross.WPF.UI.Controls.VirtualizingGridView Modifiers: public

Summary

Simple control that displays a gird of items. Depending on the orientation, the items are either stacked horizontally or vertically until the items are wrapped to the next row or column. The control is using virtualization to support large amount of items.

In order to work properly all items must have the same size.

Based on https://github.com/sbaeumlisberger/VirtualizingWrapPanel.

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

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

Inherits from: ListView

Constructors

NameSummary
.ctorInitializes a new instance of the [VirtualizingGridView](# class.

Properties

NameSummary
OrientationGets or sets a value that specifies the orientation in which items are arranged. The default value is Vertical.
SpacingModeGets or sets the spacing mode used when arranging the items. The default value is [Uniform](#
StretchItemsGets or sets a value indicating whether gets or sets a value that specifies if the items get stretched to fill up remaining space. The default value is false.

Fields

NameSummary
static OrientationPropertyProperty for [Orientation](#
static SpacingModePropertyProperty for [SpacingMode](#
static StretchItemsPropertyProperty for [StretchItems](#

Methods

NameSummary
OnInitializedRaises the Initialized event.
InitializeItemsPanelInitializes the ItemsPanel with [VirtualizingWrapPanel](#
Inherited members