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
3
votes
1 answer

Long URLs from short ones using C#

I've been using the LongURL.org API for expanding short URLs. The great thing about this service is that it returns a long URL, the title of the actual page and meta-info. The real problem I have is that it seems to take an inordinate amount of time…
Alex
  • 4,844
  • 7
  • 44
  • 58
3
votes
1 answer

WPF Expander: Reversing the icon direction while keeping the content location (ExpandDirection) the same

I am using the WPF expander like a drawer, it expands up out so that the header remains above the content. When it is collapsed the grid cell that it is in is made smaller as well. I want the expand direction to remain down so that the content…
Fultonae
  • 67
  • 1
  • 5
3
votes
2 answers

How do I swallow the dropdown behavior inside an Expander.Header?

I would like to prevent an Expander from expanding/collapsing when users click inside the header area. This is basically the same question as Q 1396153, but I'd appreciate a more favorable answer :) Is there a non-invasive way to do this? I am not…
Peter Seale
  • 4,835
  • 4
  • 37
  • 45
3
votes
2 answers

WPF, Access combobox selected item

I have a combobox that has four static possible selections, shown below MainWindow.xaml
Simmons
  • 139
  • 1
  • 11
3
votes
1 answer

WPF Expander control - Transformed Header width issue

I have a WPF Expander control palced inside an ItemsControl with ExpandDirection set to Right. Also I have customized the Header Control (ToggleButton) to get the following look and feel. I wanted the header content to be placed vertically from…
Dennis Jose
  • 1,589
  • 15
  • 35
3
votes
1 answer

WPF Expander - Can't see the internal controls in Visual Studio 2010 Design window

I'm using Visual Studio 2010 and in a WPF app I'm using an expander. The prob is that the GroupBox etc inside the Expander are hidden from view in the Design window. Any ideas to have them show? Thx!
MrGreggles
  • 6,113
  • 9
  • 42
  • 48
3
votes
1 answer

Gtk Expander in a scrolled window: The width of the scrolledwindow doesn't update

When using a Gtk ScrolledWindow with the horizontal Policy Never, I expect the scrolledwindow to adapt, if the horizontal size request of the child changes. But that's not the case, for example when using an Expander: When I expand the expander, and…
Random Citizen
  • 1,272
  • 3
  • 14
  • 28
3
votes
2 answers

Can't get WPF Listview to collapse when expanders in the listview collapse

I have a wpf ListView with two Expanders in it. When the expanders expand the listview makes room for the content. When they collapse the listview does not "take back" that extra space. I have set HorizontalAlignment and VerticalAlignment to…
WidowsCoder
3
votes
1 answer

ItemsControl where entire item is expander for sub-items

So it's kind of hard to describe the behavior I want, so I drew a nice picture with my amateur paint skills. So basically I want the headings of the ItemsControl to operate like an expander, without the ugly expander icon that comes along (so just…
Kevin DiTraglia
  • 25,746
  • 19
  • 92
  • 138
3
votes
2 answers

Time Delay on Trigger

I wish to attach a time delay to a mouseover event on a WPF expander I have on my form (xaml supported by VB.NET code behind). This mouseover event essentially triggers the expansion as oppose to clicking - but I'd like a short wait before the…
Gary Page
  • 53
  • 1
  • 7
3
votes
3 answers

Expander Header removing "_" character

I'm binding the Expander.Header property in XAML to a backing public property of string type in my ViewModel using the MVVM pattern: public string EnumName {...} I'm setting this property to "X_Y_Z" but for some strange reason the Expander Header…
Adolfo Perez
  • 2,834
  • 4
  • 41
  • 61
3
votes
1 answer

WPF Expander won't expand left when inside Canvas

I have a grid with 4 columns. In the first column is a Canvas with a ZIndex of 99 and inside that is an expander. The expand direction is set to RIGHT. When I click on the header, the expander expands OVER TOP of column 2...which is exactly what I…
Thelonias
  • 2,918
  • 3
  • 29
  • 63
2
votes
2 answers

Expander old bullet still showing

I followed an example of expander in wpf. Works fine but old bullet is still showing besise the new bullet. The code is as follows:
Hasan Zubairi
  • 1,037
  • 4
  • 23
  • 57
2
votes
1 answer

Datagrid expander (from grouping) header

Following this tutorial I had an idea to put in the Expander Header more data. I have 2 tables (Document 1 - * Entry). I'm displaying the Entries grouped by Documents and I don't want some data to be repeated in the datagrid so I thought to place…
Misi
  • 748
  • 5
  • 21
  • 46
2
votes
1 answer

Adding multiple expanders event programmatically wont work

I've got a problem with adding Expanded event to my Expanders. I have expanders on my Window and I want to get the effect when I expand my expander all other will go down. I write functions that let me do this and it work correct. The problem is…
Brzooz
  • 55
  • 1
  • 6