Can the ExplorerBar stretch to take up as much space as its parent allows?

Navigation for WPF Forum

Posted 5 months ago by Eyal Lefler
Version: 23.1.3
Avatar

Using the ExplorerBar as it is takes up as little space as possible.

when the ExplorerBar is used as a side view, it will look better if it takes up all the possible space that its parent allows, just like the accordion control of the WpfToolkit

Is there a way to do that?

Comments (5)

Posted 5 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

At the moment, there isn't an option on ExplorerBar to make it arrange like an accordian where the selected item's content spans all available height.  We can log the suggestion.  Would you prefer it to not look like ExplorerBar and just be a set of full-width stacked expanders?


Actipro Software Support

Posted 5 months ago by Eyal Lefler
Avatar

Thank you very much for the answer, I would be happy if there is such a component in the future, it can certainly look like the ExplorerBar, maybe even similar to the NavigationBar only with Expanders.

Is there a way to chage the NavigationBar to work with expander so the header will be above the content?

Posted 5 months ago by Eyal Lefler
Avatar

If it will be just set of full-width stacked expanders, it will be simpller to do that?

Posted 5 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

I think to get the proper behavior you are after, it would need to be a new, separate control.  You certainly could have a set of full-width stacked expanders.  That would work fine as-is, since you could put them in a StackPanel.  However you mentioned you wanted the expanded item's content to fill the available height, which would require custom layout logic.

Some questions with that layout logic would be:

  1. What happens when you expand a second expander item?
  2. What if the expander headers themselves take up more height than is available in the overall control?


Actipro Software Support

Posted 5 months ago by Eyal Lefler
Avatar

Hello,

Regarding your questions:

  1. The accordion control only allows one component to be at expanded state at a time, so when a second one expanded, the first should fold.
  2. I thinks that id deppandes on the parent control, mybe a scroll?

thnk you

[Modified 5 months ago]

The latest build of this product (v24.1.2) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.