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
4
votes
2 answers

How to make expander expand over grid rows

I was looking for the answer of this, but all solutions I've found was not working properly. Here is the problem. I have interface,based on grid like the below: | __________________________________| |(v)expander |(v)expander |(v)expander | <-…
Joe
  • 2,551
  • 6
  • 38
  • 60
4
votes
1 answer

WPF: Creating a ListView with expanding ListItems

So I want a list of items that when you select them they expand to show more info (no toggleButton). I figure there are multiple ways to do this but what I started at was that I had a ListView bound to the collection of viewModels and then defined…
Ingó Vals
  • 4,788
  • 14
  • 65
  • 113
4
votes
1 answer

Why doesn't my Expander expand when I set its template?

I'm trying to change the colour of an Expander's expand button, and it seems the only way to do that is to change its control template, as there is no property to set that. So, I've used Show Me The Template to grab the template for the Aero theme.…
Rich
  • 3,081
  • 1
  • 22
  • 24
4
votes
1 answer

Can you have an expander do an overlay overtop of other visual tree elements in WPF?

The problem is cosmetic more than a data problem. Is there a simple way to put element of (contents) in a popup or something else to make it just overlay over top the other elements? XAML: (I just did a simple For loop to…
djangojazz
  • 14,131
  • 10
  • 56
  • 94
4
votes
1 answer

WPF- How to place the Expander icon at the center of its header?

Please take a look at the code below:
polfosol ఠ_ఠ
  • 1,840
  • 26
  • 41
4
votes
1 answer

Base Expander Style, override header color

Is it possible to create some sort of base expander style and override the background color of the header in a derived style? In my application I'm using expanders a lot and I would like to change the background color of the header. I know I could…
sth_Weird
  • 620
  • 8
  • 16
4
votes
0 answers

WPF Expander ScrollViewer throwing exception when window is closed

I'm showing an expander in a modal window. If I don't toggle the expander the window will close fine. Once I've toggled it and close the window it throws an exception on the invocation…
user48408
  • 3,234
  • 11
  • 39
  • 59
4
votes
1 answer

Fill remaining space of parent with 2 or more expanders WPF

I have 2 expanders inside a dockPanel, i need to fill all the height available inside de dockPanel when a expander is opened and if both of them are open, i need each expander to take the half of the available height so they can fill all the space.…
Fernando Santiago
  • 2,128
  • 10
  • 44
  • 75
4
votes
1 answer

How to modify Expander button background only? WPF

I have an Expander placed on a window with a blue background and I would like to make the button for the expander another color than the default (blue, which it is receiving from the window). When I modify the background property of the expander it…
Totty
  • 926
  • 2
  • 9
  • 18
4
votes
1 answer

ListView jumps or does not shrink

First had the problem with collapse of Expander not giving back space. Based on the borders it appears to be the ListView is not shrinking rather than the Expander not shrinking. The following code fixed the shrinking problem. From ListBox control…
paparazzo
  • 44,497
  • 23
  • 105
  • 176
4
votes
3 answers

WPF - Expander in Grid - eating space

I have very simple xaml.
Banng
  • 531
  • 1
  • 6
  • 19
4
votes
1 answer

WPF - Scrolling Listbox in an Expander

I have an Expander that I want to have a ListBox in. When the I open the Expander, the ListBox just expands off the screen (rather than expanding to fill what is available and then scrolling). Here is my XAML:
Vaccano
  • 78,325
  • 149
  • 468
  • 850
4
votes
1 answer

Scrolling a ScrollViewer when Expander is expanded

I have a WPF MVVM application, in which ScrollViewer contains a user control with multiple Expanders
4
votes
1 answer

Hide the ToggleButton on WPF Expander via Binding

I am trying to dynamically hide the Toggle Button on an Expander using a Property on my ViewModel set to the Visibility property. At least that is my thought. Is there a way to just alter that one setting on the ToggleButton control without having…
g.t.w.d
  • 601
  • 1
  • 10
  • 30
3
votes
2 answers

ExpanderView does not show all Items

I am using the ExpanderView of WindowsPhone Toolkit and on first load my expanded Expander will always look like the second picture. It seems, that its always at the same Height of all Items together. If I goto another page and go back, everything…
user1021605
  • 241
  • 3
  • 14