Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » How to change the Ribbon TabPages Collapse All
Subject Author Date
Heiko Faiss Oct 17, 2014 - 12:54 AM

Hi Support-Team,


i have created a ribbon with severel Tabpages. How can i change the TabPages for ex. i want the TabPage 4 on position 3?


Greetings


Heiko

Art Wilkes Oct 17, 2014 - 8:54 AM


If you have “ribbon1” as a ribbon class in C# app you can remove a ribbon tab page with: “ribbon1.TabPages.RemoveAt(index);” with index your page order (0-based) and insert that page with “ribbon1.TabPages.Insert(newindex, item);” with ‘newindex’ the new order in ribbon and ‘item’ is the ribbon tab page.

Prof-UIS support