Ribbon window: Is there a way to add a control to the left of the minimize button?

Ribbon for WPF Forum

Posted 7 years ago by Jessica Siu
Version: 17.2.0661


I have a requirement for adding a button to the left of the minimize button in the ribbon window. Is there a way to do this currently?

Comments (1)

Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA


One option would be to add a button to the Ribbon.TabPanelItems collection.  That won't put the button in the title bar but it will be in the same row as the Ribbon's tabs, on the right side.

If you absolutely need a title bar button, check out the Metro-Style Window demo in the Themes section.  That shows how a WindowChrome can be configured to show additional content there.  You can get the WindowChrome that RibbonWindow uses by calling WindowChrome.GetChrome(window) after the RibbonWindow has been initialized.  But note, that doing this might cause some layout problems with Ribbon like with contextual tab groups since I believe it's likely looking for a certain size of title bar button width there now.

Actipro Software Support

The latest build of this product (v24.1.2) was released 27 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.