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¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [VirtualizingGridView](# class. |
Properties¶
| Name | Summary |
|---|---|
| Orientation | Gets or sets a value that specifies the orientation in which items are arranged. The default value is Vertical. |
| SpacingMode | Gets or sets the spacing mode used when arranging the items. The default value is [Uniform](# |
| StretchItems | Gets 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¶
| Name | Summary |
|---|---|
| static OrientationProperty | Property for [Orientation](# |
| static SpacingModeProperty | Property for [SpacingMode](# |
| static StretchItemsProperty | Property for [StretchItems](# |
Methods¶
| Name | Summary |
|---|---|
| OnInitialized | Raises the Initialized event. |
| InitializeItemsPanel | Initializes the ItemsPanel with [VirtualizingWrapPanel](# |
Inherited members
CrissCross.WPF.UI.Controls.ListView.ViewStatePropertyCrissCross.WPF.UI.Controls.ListView.#ctorCrissCross.WPF.UI.Controls.ListView.DisposeCrissCross.WPF.UI.Controls.ListView.OnViewStateChanged(System.Windows.DependencyPropertyChangedEventArgs)CrissCross.WPF.UI.Controls.ListView.Dispose(System.Boolean)CrissCross.WPF.UI.Controls.ListView.ViewStateSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString