WPF › Virtualizing Wrap Panel › ItemPositioningMode
ItemPositioningMode
enum.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Panels.VirtualizingWrapPanel
Lists options as to how to position the child item.
public enum ItemPositioningMode
Members at a glance
Greedy | When using this mode of positioning, the control will take into account as much of space is available in a row or column and will position the child item if the space is just enough or slightly lesser than the size of the item to locate it there. |
Safe | When using this mode, the control will assume that you want the child item to be fully visible in a row or column and with a bit of extra space around it, and will position the item in the same row/column or in the next. |
Members
Greedy
When using this mode of positioning, the control will take into account as much of space is available in a row or column and will position the child item if the space is just enough or slightly lesser than the size of the item to locate it there.
Safe
When using this mode, the control will assume that you want the child item to be fully visible in a row or column and with a bit of extra space around it, and will position the item in the same row/column or in the next.