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

How to select first item in expanded group (listview)

Can anyone help me with this problem (c# wpf): I have a ListView with this Style for my Expander (for each group):
Senne
  • 183
  • 1
  • 10
2
votes
3 answers

Vertical WrapPanel inside expander; I'm not able to wrap at window bottom

I'm working on a WPF project build a couple of years ago. One control is an expander control which groups a list of check-controls. This list of check-controls is arranged from Left to Right, Top to Bottom by a WrapPanel! Now my goal is to …
deblendewim
  • 425
  • 3
  • 12
2
votes
1 answer

How to change the expander control's toggle button icon to "+" and "-" instead of an arrow

I want to change the icon of the expander control's toggle button icon to "+" and "-" instead of an arrow... I have tried doing the same with Blend... But I am unable to do that. Can anyone help in acheiving this...
Shrikey
  • 858
  • 3
  • 11
  • 34
2
votes
1 answer

How do I get content to realign around an expanding/collapsing WPF Expander?

Right now I have a Stackpanel, that contains a collapsed Expander, and a Listbox. The Listbox beneath the collapsed Expander is being positioned as if the Expander was expanded. Is it possible for the StackPanel to dynamically do layout based on the…
John Noonan
  • 941
  • 3
  • 11
  • 19
2
votes
1 answer

How can I wrap RadioButtonGroup's label? Where can i give Expanded or Flexible?

In this project I have 10 questions and each questions have 4 options. each option is overflowing(flutter: Another exception was thrown: A RenderFlex overflowed by 196 pixels on the right. ). See My code below //using RadioButtonGroup because…
2
votes
1 answer

Default ToggleButton of Expander in ControlTemplate

Expander should be the HeaderText on the left and the ToggleButton on right side. I try to set the ToggleButton to the default style, without to create a new completly ControlTemplate for it. Can someone help?
Marc94
  • 21
  • 1
2
votes
2 answers

Custom module with possibility to add modules into module to create an expander module in DNN 9.2

​I'm using DNN 9.2 and searching for a possibility to create an own module that will work like the Atlassian Confluence's Expander Macro where I could add additional content. In my case I want to add other modules, which will be visible if the…
ChW
  • 3,168
  • 2
  • 21
  • 34
2
votes
1 answer

Delphi TExpander Equivalent for VCL

Using Delphi Tokyo with Windows10. I would like to use Expanders in my VCL App, ie, to quickly show/hide info and to declutter UI's. They are pretty common now and done very well elsewhere, eg, in Microsoft's Fluent UI and also in Android, in…
sse
  • 987
  • 1
  • 11
  • 30
2
votes
2 answers

Contract expander on losing focus

I need the expander to expand whenever a cell gets focus. Beside from that I want the expander to contract whenever the cell loses focus.
Felix D.
  • 4,811
  • 8
  • 38
  • 72
2
votes
1 answer

WPF ListView grouping with expander via header template?

All examples I can find for implementing an Expander as a group for the ListView in WPF do so by defining a new ControlTemplate for the GroupItem in the GroupStyle.ContainerStyle property. An example of this can be found here, and it works as…
Miral
  • 12,637
  • 4
  • 53
  • 93
2
votes
0 answers

WPF Expander header with buttons that should always be enabled

I would like to have an expander that is disabled when there is no content to display in the expanded content area, but at the same time I would like to have buttons in the header that are always enabled. The below XAML doesnt work as the expander…
redsolo
  • 528
  • 6
  • 13
2
votes
0 answers

WPF: Vertical expander containing a ListView doesn't expand properly

I have an expander containing a list view. The expander is initially disabled, and enabled sometime after the application is started. Everything works great if before InitializeComponent() I populate the ListView's ItemsSource (some observable…
kbo
  • 231
  • 1
  • 3
  • 9
2
votes
2 answers

Use checkbox as togglebutton in expander

Im quite new to wpf and have to following problem. I need to create a List (i am using a listbox) of items that can be expanded (expander). The problem is, that they can be expanded, only if they have been 'selected'. Each listboxitem should have a…
Shatish
  • 95
  • 2
  • 6
2
votes
1 answer

How do I set a Multibinding and Image in Expander Header

perhaps you can help me to solve this problem. I want to display a Text-Multibinding and an image in the header of my expander. This is my simplified coding of the expander:
Marco B.
  • 765
  • 1
  • 8
  • 14
2
votes
2 answers

How to get a DataGrid's scrollbars to show up when it is in an Expander?

I have a DataGrid that is in one of a series of Expanders in a resizable window. When the DataGrid rows are loaded, the DataGrid extends off the bottom of the window without any scrollbars. I've reduced the issue to the simplest elements I could…
Hypersapien
  • 617
  • 2
  • 8
  • 23