问题
I'm experiencing a visual issue with styling a TabControl in WPF. So even if I set the border of the tab control to be 0px and transparent there is still a very thin line on the right and bottom borders.
I didn't manage to find the property which would resolve that, so maybe someone experienced the same issue and could share it.
Thanks in advance,
Boris
回答1:
Are you sure its part of the border and not the DropShadowEffect?
You'll have to override the ControlTemplate to get rid of the border completely. Heres an MSDN Example.
来源:https://stackoverflow.com/questions/952896/tabcontrol-without-border-wpf-xp