WFP Textblock in Listbox not clipping properly
- by Tobias Funke
Her's what I want: A listbox whose items consist of a stackpanel with two textblocks. The textblocks need to support wrapping, the listbox should not expand, and there should be no horizontal scrollbar. Here's the code I have so far. Copy and paste it into XamlPad and you'll see what I'm talking about.
<ListBox Height="300" Width="300"…