Skip to content

Conversation

@corvinsz
Copy link
Member

fixes #3863
old PR and conversation #3873

Simply switching out the content of the colorzone doesn't work, because the ControlTemplate contains triggers which reference nested elements inside of the colorzone.
I couldn't find an easy way around that, so I now opted for the following approach:

Split the MaterialDesignTabControlBase into 2 dedicated templates (ScrollingTabControlTemplate and WrappingTabControlTemplate). The MaterialDesignTabControlBase then switches it's own template to the one of the above, based on the AP.

@Keboo Keboo added this to the 5.3.1 milestone Oct 26, 2025
Copy link
Member

@Keboo Keboo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a small follow on PR with some behavior fixes while testing this. But this PR looks good to me.

@Keboo Keboo merged commit 1a307de into MaterialDesignInXAML:master Oct 26, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TabItem in two rows

2 participants