This is a migrated thread and some comments may be shown as answers.

RadRibbonWindow without title bar

1 Answer 18 Views
Window
This is a migrated thread and some comments may be shown as answers.
enrico
Top achievements
Rank 1
Veteran
enrico asked on 13 Apr 2021, 12:49 PM

Hi, 

I've got a RadRibbonWindow like main window of my project.

I don't need the RadRibbonView but I would like to hide the title bar and insert the min/max/close button on my bar.

I attach the before and after pictures to understand that I intend.

How I can do this?

Thanks

 

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 16 Apr 2021, 07:23 AM

Hello Enrico,

This is not supported out of the box, but I can suggest two approaches that you can try.

  • Use a WPF native Window and remove its style in order to hide the borders and the title bar. Then add few buttons (close, minimize, restore) in the additional content of RadRibbonView. Note that in this case you will lose the ability to drag the window (because there will be no title bar) so you will need to implement it from scratch.
  • The other approach is to use RadRibbonWindow. In this case you can extract and customize its ControlTemplate in order to remove the title bar.

I hope this information helps.

Regards,
Martin Ivanov
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

Tags
Window
Asked by
enrico
Top achievements
Rank 1
Veteran
Answers by
Martin Ivanov
Telerik team
Share this question
or