Skip to content

SpacingMode enum

Defined in

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

Summary

Specifies how remaining space is distributed.

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

Values

NameValueDescription
None0Spacing is disabled and all items will be arranged as closely as possible.
Uniform1The remaining space is evenly distributed between the items on a layout row, as well as the start and end of each row.
BetweenItemsOnly2The remaining space is evenly distributed between the items on a layout row, excluding the start and end of each row.
StartAndEndOnly3The remaining space is evenly distributed between start and end of each row.