开发者

WPF Ribbon Window - With No Resize Style

开发者 https://www.devze.com 2023-03-31 10:17 出处:网络
There is a weird border at the bottom of my WPF Ribbon Window.It only occurs when I set the RibbonWindow\'s ResizeMode to NoResize.How do I get rid of the line at the bo开发者_运维知识库ttom?

There is a weird border at the bottom of my WPF Ribbon Window. It only occurs when I set the RibbonWindow's ResizeMode to NoResize. How do I get rid of the line at the bo开发者_运维知识库ttom?

WPF Ribbon Window - With No Resize Style


I can't reproduce this right with my version, but I would try to set the ResizeMode to NoResize after the loaded-event of the RibbonWindow. It should ensure that a first layout pass has been done before setting the value.


Ensure that WindowStyle property of the RibbonWindow is set as SingleBorderWindow. Hope that helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消