Skip to content

ControlExtensions.WrapPresenter method (1 of 2)

Uses wrap-grid virtualization with fixed item size.

public static ItemsControl WrapPresenter(this ItemsControl itemsControl, double itemWidth,
double itemHeight)
parameter description
itemsControl Target items control.
itemWidth Fixed item width.
itemHeight Fixed item height.

The items control for chaining.


ControlExtensions.WrapPresenter method (2 of 2)

Section titled “ControlExtensions.WrapPresenter method (2 of 2)”

Uses wrap-grid virtualization with fixed item size.

public static ListBox WrapPresenter(this ListBox listBox, double itemWidth, double itemHeight)
parameter description
listBox Target list box.
itemWidth Fixed item width.
itemHeight Fixed item height.

The list box for chaining.