Skip to content

VirtualizingWrapPanel class

Attributes: [ToolboxItem(true)] [ToolboxBitmap]

Defined in

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

Summary

Extended base class for VirtualizingPanel.

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 VirtualizingWrapPanel
class VirtualizingPanelBase
VirtualizingPanelBase <|-- VirtualizingWrapPanel

Inherits from: VirtualizingPanelBase

Constructors

NameSummary
.ctor

Properties

NameSummary
SpacingModeGets or sets the spacing mode used when arranging the items. The default value is [Uniform](#
OrientationGets or sets a value that specifies the orientation in which items are arranged. The default value is Vertical.
ItemSizeGets or sets a value that specifies the size of the items. The default value is Empty. If the value is...
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 SpacingModePropertyProperty for [SpacingMode](#
static OrientationPropertyProperty for [Orientation](#
static ItemSizePropertyProperty for [ItemSize](#
static StretchItemsPropertyProperty for [StretchItems](#
ChildSizeSize of the single child element.
RowCountAmount of the displayed rows.
ItemsPerRowCountAmount of displayed items per row.

Methods

NameSummary
OnOrientationChangedThis virtual method is called when [Orientation](# is changed.
MeasureOverride
CalculateExtentCalculates the extent that would be needed to show all items.
CalculateSpacingCalculates desired spacing between items.
ArrangeOverride
CalculateChildArrangeSizeCalculates desired child arrange size.
UpdateItemRangeCalculates the item range that is visible in the viewport or cached.
BringIndexIntoView
GetLineUpScrollAmountGets line up scroll amount.
GetLineDownScrollAmountGets line down scroll amount.
GetLineLeftScrollAmountGets line left scroll amount.
GetLineRightScrollAmountGets line right scroll amount.
GetMouseWheelUpScrollAmountGets mouse wheel up scroll amount.
GetMouseWheelDownScrollAmountGets mouse wheel down scroll amount.
GetMouseWheelLeftScrollAmountGets mouse wheel left scroll amount.
GetMouseWheelRightScrollAmountGets mouse wheel right scroll amount.
GetPageUpScrollAmountGets page up scroll amount.
GetPageDownScrollAmountGets page down scroll amount.
GetPageLeftScrollAmountGets page left scroll amount.
GetPageRightScrollAmountGets page right scroll amount.
GetXGets X panel orientation.
GetYGets Y panel orientation.
GetWidthGets panel width.
GetHeightGets panel height.
CreateSizeDefines panel size.
CreateRectDefines panel coordinates and size.
Inherited members