Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More ContextualTabGroup questions #1213

Open
lilhoser opened this issue Aug 29, 2024 · 1 comment
Open

More ContextualTabGroup questions #1213

lilhoser opened this issue Aug 29, 2024 · 1 comment
Labels
Question ❓ Not an issue but a question instead.

Comments

@lilhoser
Copy link

Question 1: Left alignment

I have two contextual tab groups that when tabs are added appear this way (stacked):

image image

Can I force the red group to appear where the green group is appearing?

Question 2: Layout variations

Continuing from #1...If I close the above two contextual tabs, so that the contextual groups are hidden, and then re-add the tabs, the layout changes:

image image

I am hiding/showing the contextual groups and the tabs by toggling their Visibility attribute with Hidden or Visible as appropriate. Despite the documentation indicating otherwise, Collapsed does not work for me.

Question 3: Contextual group header disappears

Continuing from #2.. If I close the green contextual tab, causing that group to be hidden, the header for the red group disappears (but the tab remains visible):

image

Environment

  • Fluent.Ribbon 10.1.0
  • Windows 11
  • .NET 8.0
@batzen
Copy link
Member

batzen commented Sep 3, 2024

Setting the visibility to Hidden will work exactly as it does everywhere in WPF.
It just hides the visual group in the titlebar but still consumes the space and most likely break the layout.
The only values for visibility being supported, for tabs and context tabs, are Visible and Collapsed.

Why doesn't Collapsed work for you?
What happens if you use it?

@batzen batzen added the Question ❓ Not an issue but a question instead. label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question ❓ Not an issue but a question instead.
Projects
None yet
Development

No branches or pull requests

2 participants