Click here to Skip to main content
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 2:12am
ARIA 51.4K
Edited 27-Nov-12 2:18am
v3
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

You can get the example here[^]
 
Kind regards,
  Permalink  
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.

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 418
1 OriginalGriff 344
2 George Jonsson 233
3 Shemeemsha RA 138
4 Animesh Datta 130
0 OriginalGriff 6,179
1 Sergey Alexandrovich Kryukov 5,616
2 CPallini 4,770
3 George Jonsson 3,400
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 27 Nov 2012
Copyright © CodeProject, 1999-2014
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