Quantcast
Channel: Ribbon for WPF - Recent Posts
Viewing all articles
Browse latest Browse all 1458

Re: Adding items to the RibbonWindow title bar

$
0
0

Hi Scott,

RibbonWindow has a pre-built WindowChrome instance that it uses to do its chrome rendering.  You can get that instance in code by doing "var chrome = WindowChrome.GetChrome(this)" in the window.  The chrome has a TitleBarContentTemplate property that you can set to a DataTemplate and that will show up next to the title bar buttons.  Please note that you can't set the WindowChrome instance in pure XAML since that wouldn't allow you to get the already-defined instance.


Viewing all articles
Browse latest Browse all 1458

Trending Articles