Modifying WPF listbox items container when using groupstyle

Posted by rulestein on Stack Overflow See other posts from Stack Overflow or by rulestein
Published on 2011-01-15T18:51:00Z Indexed on 2011/01/15 18:53 UTC
Read the original article Hit count: 177

I have a listbox that is grouping the items with a GroupStyle. I would like add a control at the bottom of the stackpanel that holds all of the groups. This additional control needs to be part of the scrolling content so that the user would scroll to the bottom of the list to see the control. If I were using a listbox without the groups, this task would be easy by modifying the ListBox template. However, with the items grouped, the ListBox template seems to only apply on a per group basis. I can modify the GroupStyle.Panel, but that doesn't allow me to add items to that panel.

<----- I would like to add a control to this stackpanel

© Stack Overflow or respective owner

Related posts about wpf

Related posts about listbox