Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi all,
i want to hide arrow expander or header expander in wpf
so
is there way to do this?
if possible answer by c# code.
tnx all.
Posted
Updated 27-Nov-12 2:18am
v3

Hi,

You'll have to overwrite the ControlTemplate of the expander - this is a good place to start: Customizing WPF Expander with ControlTemplate[^] - in the article, have a look at the Expander ToggleButton Template.

Kind regards,
 
Share this answer
 
hi programm3r
tanks for u're solution
i have downloaded this project
but i wand exactly solution because i have not any time.
again tank u more than "very much".
 
Share this answer
 
Comments
BillW33 27-Nov-12 9:29am    
You should not post a comment to a solution or an addition to your question as a "Solution". You can add a comment to a solution by pressing the "Have a Question or Comment?" button. I did not vote, but I thought you should know why this might be downvoted.
You can get the example here[^]

Kind regards,
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900