Professional UI Solutions
Site Map   /  Register


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 do i set/get the current tab index Collapse All
Subject Author Date
pascal bosquet Mar 7, 2007 - 7:17 AM

Hello there,

i’m starting to evaluate this great looking component. Something that i didn’t figured it out is how can i set the CurrentTabPageIndex ? so i’m switching the tab by code on event. Also how can i get the index of the current tab ? i noticed the event "CurrentTabPageChanged" but nothing give me the index

thanks in advance

pascal bosquet Mar 7, 2007 - 8:27 AM

Found it :)


Technical Support Mar 7, 2007 - 12:45 PM

Yes, you can use Ribbon.CurrentTabPage property for this. If you need the current tab page index for some reason, please use Ribbon.TabPages.IndexOf(Ribbon.CurrentTabPage).