User Tools

Site Tools


telerik_test

This is an old revision of the document!


Telerik.WinControls.UI.RibbonTab)radRibbonBar1.CommandTabs[0]).IsSelected = true; Use the ‘Document Outline’ view (<Ctrl>+W, U) to manage a RadRibbonForm. Managing & Reordering RibbonBar Groups
  • Select the RadRibbonBar, and click the <…> on the CommandTabs Property to open RadRibbonBarCommandTab Collection Editor.
  • Select a RadRibbonBarTab on the left, then click the <…> on the Items property to open the RadItem Collection Editor. <Add> and reorder Groups.
  • Select a RadRibbonBarGroup on the left, then click the <…> on the Items property to open the RadItem Collection Editor. <Add> and reorder buttons, etc.
NOTE: Reordering CommandTabs in the wizard doesn’t seem to work. You can use this code instead:

//The RibbonGroups 'rrbctArchives' and 'rrbctNotes' should be in the 1st and 2nd positions from the left. Telerik support ticket: 1453535 

this.richTextEditorRibbonBar.CommandTabs.Remove(this.rrbctArchives);

this.richTextEditorRibbonBar.CommandTabs.Insert(0, this.rrbctArchives);

richTextEditorRibbonBar.CommandTabs.Remove(this.rrbctNotes);

richTextEditorRibbonBar.CommandTabs.Insert(1, this.rrbctNotes);
Set default selected CommandTab ;

telerik_test.1707612012.txt.gz · Last modified: 2024/02/10 19:40 by admin