TabControl without border wpf (XP)

梦想的初衷 提交于 2019-12-13 15:03:51

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!