Ventana de cinta de WPF: sin estilo de cambio de tamaño

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 bottom?

The arrows are pointing to the issue

preguntado el 27 de agosto de 11 a las 20:08

2 Respuestas

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.

Respondido el 12 de Septiembre de 11 a las 22:09

Sorry that didn't fix it either. I am running Windows 7 if that helps. - Kevindaub

Does this happen at any given time when you set the ResizeMode to NoResize? And when you set it back to another value, everything is fine? - Alex Maker

Only when resizemode is NoResize or CanMinimize. Yes, when I set it back everything is fine. I looked at the controltemplate of the ribbonwindow, but nothing stood out as a possible cause. - Kevindaub

Se aseguran que los WindowStyle propiedad de la RibbonWindow se establece como SingleBorderWindow. Espero que ayude.

Respondido el 15 de diciembre de 11 a las 00:12

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.