In WPF I’d like to have an expander that shows a stack of labels that have the exact style as the default expander; rounded corners, black border, except the open/close image.
Anyone got a style for that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I tried to extract a style from the default Expander style but i think it might be a bit different, also note that by default there is no visible border, so you will not see the rounded edges unless you change the respective brush or use a background colour:
Here is the complete default style if you want to try yourself, all the header styles and triggers are irrelevant since they are used for the ToggleButton which you do not want in a Label: