WPF WrapPanel - all items should have the same width

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-05-12T09:49:18Z Indexed on 2010/05/12 9:54 UTC
Read the original article Hit count: 199

Filed under:
|
|
|
|

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?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about .NET