Hi ,
Is it possible to add a label or button in the XamRibbonWindow Title Bar?
Here is my requirement -
1. The Application Title should be displayed in the centre of the title/header bar. This feature is already available.
2. The logged in user name should be displayed on the right corner of the title/header bar.
3. The logout button should be displayed next to the user name on the right corner of the title/header bar.
thanks in advance
Finally I created multiple triggers which are bound to the Window Theme. If the theme changes, the color will change to the appropriate one. It works.
Thank you,
Well when run on a Vista system with glass enabled that area will be transparent so I'm assuming you mean when either glass is not being used. In our default templates (which you can find in the DefaultStyles directory), the background of the caption area is set to a dynamic resource with a key of igRibbon:RibbonBrushKeys.CaptionPanelFillKey and then set to a dynamic resource with a key of igRibbon:RibbonBrushKeys.CaptionPanelInactiveFillKey when the window is deactivated. So to control the active window caption color, you would put a brush with a key of igRibbon:RibbonBrushKeys.CaptionPanelFillKey in the xamRibbon's Resources. If you want that to be based on the theme then you would have to change the brush or color of the brush as you change the theme.
Hi,
I was able to bound the document name and the application title in the title bar of the XamRibbonWindow.
Now I am trying to do something a little bit more complicated and I am not able for now to figure out.
I want to switch the brush of the Application title (displayed in the title bar) depending on the XAmRibbonWindow theme.
Do you have an idea of how I could do this? I still want to keep the behavior of the brush when the window is not selected...
The "Document" is essentially bound to the Title of the Window so just change the Title. For other customizations you would need to tweak the sample to your needs.
Thanks, I tried your sample I think this is in the good direction.
Do you know how I could make the Document name change when the selected document change? Or remove the "-" if there is no selected document?