Skip to content

Header of the TabControl disappears after switching of the Visibility property #3063

@DrCQ

Description

@DrCQ

Bug explanation

I use two <UserControls> sharing the same position in the Grid and being controlled by the Visibility property. With the current version 4.7.0 and 4.7.1 the <TabControl> header disappears after changing the Visibility of the hosting control from Visible to Collapsed and Visible again. I tested all available MaterialDesign Style versions and header positions with the same result.

My current workaround is:
<TabControl matD:ColorZoneAssist.Mode="PrimaryMid" TabStripPlacement="Right" Style="{x:Null}">
removing the Style definition. This workaround is "confirming" a bug in the TabControl (header) Style.

Version

4.7.1

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions