Hi,
Is it possible to add just a TextBlock to Quick Access Toolbar ? I would like to display current time in the main application window.
Thanks,
Ed
Hi Stefan
Two questions about your sample?
1. Is there a way to put TextBlock to the far right of the main window?
2. Looks like this approach will require style replacement on every upgrade of Ribbon Control. Is there a better way to extend it?
Thank you,
Dmitri
Hello Ed,
This behavior is expected, because you are able to add tools, which do an action in the QAT and since the LabelTool dosn't do any action yo uare not able to add it to there.
Hope this helps you.
Stefan,
I also tried to use LabelTool but I've got an error message:
{"The Tool type 'Infragistics.Windows.Ribbon.LabelTool' does not support being added to the QuickAccessToolbar."}
You are correct about the Styles. Also you can change the TextBlock fontsize as you want.
Thanks for the sample. Just in case - as far as I understand, it's also possible to add TextBlock to right side of xamRibbon's ribbon area and make it visible for any selected menu item (also by changing default style of the ribbon), correct ? I am not sure that user will accept current time in QuickAccessToolbar because of the font size.