TabControl borderless wpf (XP)

I am having a visual problem while styling TabControl in WPF. Therefore, even if I set the border of the tab control to 0px and transparent, there is still a very thin line on the right and bottom borders.

I could not find a property that would resolve this, so maybe someone experienced the same problem and could share it.

Thanks in advance,
Boris

+3
source share
1 answer

Are you sure its part of the border, not DropShadowEffect? A.

You will have to override the ControlTemplate to completely get rid of the border. Heres a Example MSDN.

+3
source

Source: https://habr.com/ru/post/1709810/


All Articles