WPF WrapPanel - all items should have the same width
- by John
I have a ListBox whose ItemsPanel I have replaces with a WrapPanel.
The WrapPanel now hosts the databound ListboxItems. Each item has a variable sized text in it, giving each item a different width.
However, I want the width to be constant so that all items have the same width as the item with the longest text.
Is that possible?