|117155||Aug 25,2014 01:04 AM||Sep 1,2014 02:30 PM||WPF||1|
Apologize for the delay.
We have analysed your query. You can add a customized Ribbon Tabs in SpreadsheetRibbon like the below snippet
void SpRibbon_Loaded(object sender, RoutedEventArgs e)
var ribbon = (this.SpRibbon as FrameworkElement).FindElementOfType<Ribbon>();
if (ribbon != null)
RibbonTab rb = new RibbonTab();
rb.Caption = "Custom";
RibbonButton Button1 = new RibbonButton();
Button1.Label = "Hide 1st Row";
Button1.Click += new System.Windows.RoutedEventHandler(Button1_Click);
CustomRibbonBar = new RibbonBar();
CustomRibbonBar.Header = "CustomOptions";
CustomRibbonBar.IsLauncherButtonVisible = false;
We have also prepared a sample based on your requirement. Please see the below link for your reference
Please let us know if you have any queries.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.