New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Defines properties that tab containers (RadTabStrip, RadTab) should implement.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public interface IRadTabContainer

Derived Classes: RadTabRadTabStrip

Properties

Gets the parent IRadTabContainer.

C#
IRadTabContainer Owner { get; }

Gets or sets a value indicating whether the tabstrip should scroll directly to the next tab.

C#
bool PerTabScrolling { get; set; }
Property Value:

true if the tabstrip should scroll to the next (or previous) tab; otherwise false. The default value is false.

The position of the scroll buttons with regards to the tab band.

C#
TabStripScrollButtonsPosition ScrollButtonsPosition { get; set; }
Property Value:

One of the TabStripScrollButtonsPosition enumeration values. The default value is Right.

This property is applicable when the ScrollChildren property is set to true; otherwise it is ignored.

Gets or sets a value indicating whether the children of the tab will be scrollable.

C#
bool ScrollChildren { get; set; }
Property Value:

true if the child tabs will be scrolled; otherwise false. The default value is false.

Gets or sets the position of the scrollable band of tabs relative to the beginning of the scrolling area.

C#
int ScrollPosition { get; set; }
Property Value:

An integer specifying the initial scrolling position (measured in pixels). The default value is 0 (no offset from the default scrolling position). Use negative values to move the tabs to the left.

This property is applicable when the ScrollChildren property is set to true; otherwise it is ignored.

Gets or sets the index of the selected child tab.

C#
int SelectedIndex { get; set; }
Property Value:

The zero based index of the selected tab. The default value is -1 (no child tab is selected).

Use the SelectedIndex property to programmatically specify the selected child tab in a IRadTabContainer (RadTabStrip or RadTab). To clear the selection set the SelectedIndex property to -1.

Gets the selected child tab.

C#
RadTab SelectedTab { get; }
Property Value:

Returns the child tab which is currently selected. If no tab is selected (the SelectedIndex property is -1) the SelectedTab property will return null (Nothing in VB.NET).

Gets the collection of child tabs.

C#
RadTabCollection Tabs { get; }
Property Value:

A RadTabCollection which represents the child tabs of the IRadTabContainer.