I want to put a TextEditorTool on my XamRibbon but I don't want it to have a Caption visible. We are using the NullText as the caption. However, this presents problems in the QATCommonTool menu. This tool will have a menu item without any text. Is there a way to set the Caption property but not display the caption on the tool? I tried setting the RibbonGroup.MaximumSize and MinimumSize to ImageOnly, but it does not behave like ButtonTools.
(Are you going to tell me I have to retemplate the TextEditorTool?)
Thank you, Matt!
That was much easier than retemplating the control.
HI,
I created a style targeting the TextEditor Tool, I wired up the Loaded Event, and I collapse the TextBlock containing the caption when the tool is not in the QAT.
I am attaching a sample project for your review.