Message 1 of 5
Text under button C#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am trying to implement custom ribbon tab with custom buttons with C#. I would like to put text under the button wrapping it if the text is too long.
So instead of looking like this
to look more like this
the part of code for button right now I have, it is like this:
RibbonButton updateTipButton = new RibbonButton
{
Name = "Update TIP text.",
Text = "TIP Update",
ShowText = true,
Size = RibbonItemSize.Large,
LargeImage = Resource1.ArrowUpdate_mod.ToBitmapImage(),
ShowImage = true,
CommandHandler = new RibbonCommandHandler("UPDATETIP"),
};
Is there any way to fully customize the button or not?
Edit:
Found the command to add the:
Orientation = System.Windows.Controls.Orientation.Vertical
in the button properties.
Thank you for answers in advance.
BR, Matic