I have 2 ItemsControls parallel to each other. The first is a set of TextBlocks with Property names and the second is a set of TextBoxes with Property values.
Property1 Value1
Property2 Value2
Property3 Value3
" "
The list goes on very long in some cases.
Is there a way to possibly break the columns at a certain point and ‘wrap’ the two ItemsControls so they begin 2 new columns (parallel to the first 2) in the same container?
I’m pretty confident that this cannot be done. This isn’t even
ItemsControl-specific – your question really boils down to, “how do I take two separate WPF controls, and make their children display in interleaved manner?”. It just doesn’t work that way – after all, anItemsControlis still aUIElement, and has well-definedWidthandHeight. In your example with two interleavesItemsControls, what would be the width of each?