Я использую WrapPanel
как ItemsPanel
для ItemsControl
. Прямо сейчас элементы в элементе управления обертываются следующим образом:
|1234567 |
|890 |
Я бы хотел, чтобы они обернулись следующим образом:
| 1234567 |
| 890 |
Концептуально, процесс компоновки должен выравнивать каждую строку элементов таким образом, чтобы она была сосредоточена в пределах WrapPanel
.
Может кто-нибудь объяснить, как это возможно?