How do I create a WPF Dropdown panel
Posted
by Mitch
on Stack Overflow
See other posts from Stack Overflow
or by Mitch
Published on 2010-05-20T08:37:25Z
Indexed on
2010/05/20
8:40 UTC
Read the original article
Hit count: 219
I'd like to create a dropdown panel in WPF the acts like a ComboBox/Expander hybrid. I'm currently using an Expander but it pushes the the controls underneath it down when it expands.
I simply want it to act like a ComboBox and overlay it's dropdown. I've looked at using Popups but they don't move with the underlying window if it's moved.
So, I've concluded that the closest control to my needs is a ComboBox with allows me to put a Grid or StackPanel into its dropdown area.
Any ideas how to achieve this?
© Stack Overflow or respective owner