I have manage to add a RibbonButton to the RibbonBar but I am unsure how to add the Descriptive Text. Also is there a way to add the button via the XAML
RibbonButton Description Tect
-
- Posts: 135
- Joined: Tue Aug 11, 2009 9:38 am
RibbonButton Description Tect
Hello,
Please use the following code:
Thank you.
Please use the following code:
Thank you.
RibbonButton Description Tect
Could you please give me the abobe example XAML in context of the ViewerControl
RibbonButton Description Tect
Hello,
The way you to add a button in the ToolBar in XAML is not possible. You can only do it from the code. Please see the code:
RibbonButton button = new RibbonButton();
button.MinWidth = 150;
button.Height = 24;
button.Content = "Descriptive Text";
viewerControl.MainToolBar.Items.Add(button);
Thank you.
The way you to add a button in the ToolBar in XAML is not possible. You can only do it from the code. Please see the code:
RibbonButton button = new RibbonButton();
button.MinWidth = 150;
button.Height = 24;
button.Content = "Descriptive Text";
viewerControl.MainToolBar.Items.Add(button);
Thank you.