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

Vertical Epander Would Like Vertical Header

This Expander is vertical. The Header displays as Hightlight I want H i g h l i g h t How do it get that?
paparazzo
  • 44,497
  • 23
  • 105
  • 176
3
votes
1 answer

Style WPF Expander icon like TreeView expander

I would like to style my WPF expander like the expanders used in this TreeView from Windows 7 (see screenshot below). Are there any styles available to do this? Edit: I am interested in the expander style -- specifically the small triangular…
cordialgerm
  • 8,403
  • 5
  • 31
  • 47
3
votes
2 answers

How to use the IsEnabled to disable the parts of an Expander, but not the whole thing?

I have an expander with a custom template:
michael
  • 14,844
  • 28
  • 89
  • 177
3
votes
2 answers

How to click content behind collapsed WPF expander?

When I collapse an expander, it visibly collapse, but I cannot click the content behind. It occupies the same space as if it were expanded... Is it possible to REALLY collapse an expander? Code example:
3
votes
3 answers

How to resize the Expander.Content?

Marcel B
  • 3,624
  • 2
  • 27
  • 39
3
votes
2 answers

Customize Expander to expand on mouse enter

I am using Expander in WPF to display my data. The default style for the Expander control contains a toggle button which shows/hides my content when I click on it. How can I modify the style so that it expands when I hovers the mouse over the header…
Metro
  • 1,121
  • 1
  • 13
  • 33
3
votes
2 answers

Xamarin Forms: How to set a list of items as the Expander Child?

I am using an Expander for showing units and chapters of a book. I am able to show the units as the Expander.Header, but the chapters under the unit is again a list. I tried like below but chapters are not able to view on UI. XAML
Sreejith Sree
  • 3,055
  • 4
  • 36
  • 105
3
votes
1 answer

Why does jQuery Expander stop working once you've loaded new text from Ajax?

I'm using jQuery Expander to truncate some text (adding 'read more' button). It works fine on default text, but once I load up some fresh content via Ajax the plugin doesn't work anymore (on the newly-loaded text). Any suggestions on how to fix…
Stormbytes
  • 189
  • 4
  • 11
3
votes
1 answer

WPF Restrict size of an expander

I have a multiple treeviews inside expanders, which can grow in height along with the content. But when the height gets larger than the window's size, it goes outside the window. The obvious solution would be to set the MaxHeight of the Treeview,…
Maestro
  • 9,046
  • 15
  • 83
  • 116
3
votes
0 answers

Expand and Collapse Expander slowly

I'm programming in WPF(C#). I want to Expander expands and collapses slowly in a StackPanel. The codes I used are:
Babak.Abad
  • 2,839
  • 10
  • 40
  • 74
3
votes
2 answers

How to add button at the right corner of Expander - WPF DataGrid

I would like to know how to put button to the right part of my expander, here is picture of how does it look when my expander is collapsed (I need buttons no matter is it expanded or not). I need to get this, so when user click on button I must get…
Roxy'Pro
  • 4,216
  • 9
  • 40
  • 102
3
votes
1 answer

Expander combined with GridSplitter

I’m trying to split my WPF window into two “areas”, top and bottom. The top area contains a grid. The bottom area contains an expander. Between the two areas should be a GridSplitter which the user can use to resize the areas. The content of each…
musium
  • 2,942
  • 3
  • 34
  • 67
3
votes
1 answer

Expander with animation that support all direction

My Objective: is to create a Custom Expander with Animation on expanding and should support for all the directions. What I tried: I have Implemented a solution with the help of this. I modified it and made it work based on my need. My solution…
Gopichandar
  • 2,742
  • 2
  • 24
  • 54
3
votes
0 answers

Wpf treeview prevent selection on expander click

I am currently stuck on following problem: I have a custom TreeViewItemStyle and when I click on the expander the node is selcted in addition to the expander expanding/collapsing. Is there any way to prevent selection on expanding/collapsing? …
3
votes
1 answer

C# WPF Expander in Datagrid should be frozen (fix) while scrolling

I have a Datagrid with Expander in it, like this:
ITCHY1505
  • 61
  • 7