I have a WrapPanel, And I want to specify the Max number of its columns. So, for example, when my Collection \"ObjectCollection\" (binded to this WrapPanel) contains only 4 elem
I'm pretty sure you can't do it with a WrapPanel, but you can use the UniformGrid instead.
That one has properties to specify the number of rows and columns you want.
If you set the Columns property to 4, it will keep 4 items in each row, and then wrap to the next one.
Columns