I need a control that implements the usual functionality an ItemsControl, with the following behavior:
If number of items to display does not fit into available space, instead of showing the scrollbar, the number of displayed items is reduced to be able to fit, while leaving available space for a "More..." or "< >" elements. When number of items is small enough, then "More..." section becomes invisible. So if you dynamically resize the control, the "More..." section would appear or disappear, depending on the size.
I do not need a complete solution, just a direction, but I would prefer something that is "in WPF spirit", utilizing the layout engine as much as possible. Also, if you happen to know about an existing solution, it would be great as well.