expose a Text
property that is designed to work with the SmallImage/LargeImage
properties to control the image and label of the buttons. These properties are also designed to reflect the changes in the button size which can be dynamically changed by the RibbonView
resizing logic. For more information about our RibbonButton
logic see this article
However, we have also left the Content
property of the buttons as we wanted to provide a way to set custom content in the buttons. This is why the Content
is stretched to fill the available size of the Button
and it should be used instead of both the Text
In your case, I'd recommend taking advantage of the Text
property to set the label of the button and not using the Content
property at all.
I hope this information helps.
the Telerik team