0

I have an observable collection of some items and I want to display it in wrap panel in the way it would have exactly two columns.

For example, if I have 5 items in collection the first, second and third would stay in the first column and the fourth and the fifth would stay in the second one.

double-beep
  • 5,031
  • 17
  • 33
  • 41
Demarsch
  • 1,419
  • 19
  • 39

1 Answers1

1

If you particularly want the items to be able to wrap, then you have no option other than to create your own custom Panel.

You can find help with this from the following pages:

If it does not matter if the objects can wrap or not, you might be able to use a UniformGrid. You can find help with this in the Understanding Uniform Grid control post here on Stack Overflow.

double-beep
  • 5,031
  • 17
  • 33
  • 41
Sheridan
  • 68,826
  • 24
  • 143
  • 183