-
Notifications
You must be signed in to change notification settings - Fork 130
Closed
Description
Describe the bug
It looks like TabControlEx works properly only with default TabStripPlacement="Top" property. Try to change it to Left, Right, Bottom and see the issue - template parts are located incorrectly.
Steps to reproduce
Set TabStripPlacement Left, Right or Bottom and see the result.
<controlz:TabControlEx TabStripPlacement="Left">
<TabItem Header="Lorem">
<TextBlock Text="Lorem ipsum dolor sit amet, consetetur sadipscing"
HorizontalAlignment="Center"
FontSize="30" />
</TabItem>
<TabItem Header="ipsum">
<TextBox Text="Lorem ipsum dolor sit amet, consetetur sadipscing"
HorizontalAlignment="Center"
Margin="5" />
</TabItem>
</controlz:TabControlEx>
Workaround
Set style from Tabcontrol directly:
<controlzex:TabControlEx Style="{StaticResource {x:Type TabControl}}" TabStripPlacement="Left">
Expected behavior
Actual behavior
Environment
ControlzEx version=5.0.2
Windows build number: Win10 22H2
Visual Studio: 2017 15.9.51
Target Framework: net472
Screenshots
Reactions are currently unavailable