How to create a collapsible panel in WPF
-
Hi, I am creating a Windows application (WPF) and C#. In my view, I have to add few layouts like browsing a folder, displaying the files in the folder in a list view...etc My requirement is : The panels mentioned above should be collapsible panels, I guess, we dont have option of collapsible panel in wpf. I have to create a custom control for this? If so, Please suggest me how to do this? Thank You, Ramm
-
Hi, I am creating a Windows application (WPF) and C#. In my view, I have to add few layouts like browsing a folder, displaying the files in the folder in a list view...etc My requirement is : The panels mentioned above should be collapsible panels, I guess, we dont have option of collapsible panel in wpf. I have to create a custom control for this? If so, Please suggest me how to do this? Thank You, Ramm
You could always use an Expander.
<Expander Header="Folders" IsExpanded="false">
..
</Expander>"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
You could always use an Expander.
<Expander Header="Folders" IsExpanded="false">
..
</Expander>"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
Is there a way to have the expander bump other elements out of the way? for instance if your collapsed expander is next to a list view, can you move the listview over when you expand? probably not possible but thought id ask