Questions tagged [expander]

An Expander control provides a way to provide content in an expandable area that resembles a window and includes a header.

jQuery Expander plugin: The Expander Plugin hides (collapses) a portion of an element's content and adds a "read more" link so that the text can be viewed by the user if he or she wishes. By default, the expanded content is followed by a "read less" link that the user can click to re-collapse it. Expanded content can also be re-collapsed after a specified period of time.

WPF Expander: Represents the control that displays a header that has a collapsible window that displays content.

555 questions
9
votes
2 answers

How to put Expander ToggleButton on right

By default the expander has a left aligned toggle button but in my WPF app i want toggle button on the right side of the header without the help of Expression Blend. just plain XAML and/or C#. My expander contains a vertically oriented stackpanel…
Nikhil Agrawal
  • 47,018
  • 22
  • 121
  • 208
9
votes
2 answers

WPF Expander Button Styled so it is inside Expander Header

I am using the Expander control and have styled the header as shown in the picture below: http://www.hughgrice.com/Expander.jpg The problem I have is that I want the expander button to be contained within the header so that the line for the end of…
Burt
  • 7,680
  • 18
  • 71
  • 127
9
votes
4 answers

WPF - How to get only one expander expanded at any one time

I've got a StackPanel with a group of expanders in, how do I set it so that only expander is expanded at any one time? Cheers AW
AwkwardCoder
  • 24,893
  • 27
  • 82
  • 152
8
votes
2 answers

Expanding/collapsing a WPF Expander

How to expand/collapse a WPF Expander in code? I need to do it in order to initialize a control in it.
relapse
  • 83
  • 1
  • 1
  • 5
8
votes
2 answers

Scroll AND Stretch the content of an Expander

This is what I want: 1.) When I click my Expander button and it expands it should stretch down to the end of the Grid see sample image => 2.) When I write more Text than space is available in the RichTextBox within the Expander ScrollBars must be…
Elisabeth
  • 20,496
  • 52
  • 200
  • 321
8
votes
2 answers

Disable TabStop on Expander

I set IsTabStop to False, but Tab still navigates to the expander. Any ideas what am I doing wrong?
Meh
  • 7,016
  • 10
  • 53
  • 76
7
votes
2 answers

Expander with GridSplitter

I've a grid splitter before to the expander(which exists in the right side of a wpf window) and when i was running the app i need to use grid splitter to see more data from expander after its expanded, but the problem is when i was drag splitter i'm…
nag
  • 920
  • 6
  • 27
  • 51
7
votes
2 answers

How to align TexBlocks in WPF Expander Header

I have Multiple Texblock in Expander Header. I want these TextBlocks aligned to Left, Right and Center. How can i achieve this? Please Help... Thanks Sharath The Text in Red should be left aligned, the one in blue should be center aligned and the…
Sharath
7
votes
2 answers

Putting an icon at the right end of a WPF expander control

Hi I am attempting to put a green tick icon at the right end of a WPF Expander control when a checkbox is set. My code currently is:
TripleAntigen
  • 2,221
  • 1
  • 31
  • 44
7
votes
4 answers

WPF - Expand Window to the Left

I have a WPF window with expandable panel (via Expander). The panel is on the left side of the window, and when expanded the window grows to fit the content. By default, windows are anchored to the top-left, so my window grows to the right. I'd…
Omer Mor
  • 5,216
  • 2
  • 34
  • 39
7
votes
1 answer

How to set Expander Direction to slide horizontally instead of vertically?

I know that the System.Windows.Controls.Expander is another "headered" content control in WPF just similar to a System.Windows.Controls.GroupBox. One advantage is that Expanders have the ability to hide its content by collapsing, and showing content…
Khalil Khalaf
  • 9,259
  • 11
  • 62
  • 104
7
votes
6 answers

Collapse all the expanders and expand one of them by default

I have multiple expanders, and I was looking for a way to collapse all others the expanders when one of them is expanded. And I found this solution here XAML:
Wassim AZIRAR
  • 10,823
  • 38
  • 121
  • 174
7
votes
2 answers

ListView with nested Expander not collapsing

This question is the same as this other unanswered question. When the Expander is expanded the outer ListView grows to make space for the expanders contents, but when the Expander is then collapsed the view does not force the ListView to…
Simeon Pilgrim
  • 22,906
  • 3
  • 32
  • 45
6
votes
2 answers

How can I set the TabIndex on a WPF Expander control?

In this example window, tabbing through goes from the first textbox, to the last textbox and then to the expander header.
Eclipse
  • 44,851
  • 20
  • 112
  • 171
6
votes
1 answer

Child Expanders raising Parent Expander's Expanded and Collapsed Events?

For some reason, child Expanders (placed in a StackPanel inside of another Expander), when collapsed or expanded, cause the parent Expander to raise its Expanded or Collapsed events. Anyone know why this is or how I can change it? I'm only…
Tim
  • 14,999
  • 1
  • 45
  • 68
1
2
3
36 37