ComponentOne TabStrip for ASP.NET AJAX: C1TabStrip Behavior > Selected Index

Selected Index

The C1TabStrip control's tabs follow a zero-based index, meaning that the index of the first tab is zero. By default, the SelectedIndex property will be set to zero ("0"), and the first tab will be selected at run-time. To change which tab is selected at run-time, set the SelectedIndex property to a different number in the index. For example, if you have four tabs and want the last one to be selected at run-time, you would set the SelectedIndex property to 3.

For task-based help on setting the SelectedIndex property, see Changing the Selected Index.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.