Click here to Skip to main content
11,481,916 members (63,206 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# WPF
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 27-Nov-12 3:12am
ARIA 51.5K
Edited 27-Nov-12 3:18am
v3
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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,
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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".
  Permalink  
Comments
CIDev at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

You can get the example here[^]

Kind regards,
  Permalink  

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



Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 27 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100