TAB Element | Tab Class

Adds a Tab element to a ASP.NET Web Form.

Syntax

ASP <tagPrefix:TAB ... >

Possible Values

tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive.

Members Table

The following table lists the members exposed by the Tab object.

Attribute Property Description
AccessKey Sets or retrieves the keyboard shortcut key (AccessKey) for setting focus to the item.
DEFAULTIMAGEURL DefaultImageUrl Sets or retrieves the URL of the image as default for all inactive elements.
DEFAULTSTYLE DefaultStyle Sets or retrieves a value that indicates the default style for the element.
Enabled Sets or retrieves a value indicating whether the item is enabled.
HOVERIMAGEURL HoverImageUrl Sets or retrieves the URL of the image for an element when the user hovers the mouse pointer over it.
HOVERSTYLE HoverStyle Sets or retrieves a value that indicates the style of the element when the user hovers the keyboard focus or mouse pointer over it.
ID ID Sets or retrieves a value that indicates the string that identifies the object.
Parent Retrieves the parent object of a node.
ParentTabStrip Retrieves the TabStrip that contains the TabItem.
SELECTEDIMAGEURL SelectedImageUrl Sets or retrieves the URL of an image to use for a selected node or TAB.
SELECTEDSTYLE SelectedStyle Sets or retrieves a value that indicates the style for the selected element.
TabIndex Sets or retrieves the tab index of the item.
TARGET Target Retrieves a value that indicates the PageView object to activate when the Tab is activated.
TARGETID TargetID Enables you to automatically link tabs to a MULTIPAGE control.
TEXT Text Sets or retrieves a value that indicates the text or caption for the object.
ToolTip Sets or retrieves the ToolTip for the item to be displayed when the cursor is over the control.
Method Description
ToString Retrieves a System.String that indicates the current object.

Class Information

Namespace Microsoft.Web.UI.WebControls

Applies To

TABSTRIP

See Also

Internet Explorer WebControls, About the TabStrip WebControl