Export (0) Print
Expand All

TABSEPARATOR Element | TabSeparator Class

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

Syntax

ASP <tagPrefix:TABSEPARATOR ... >

Possible Values

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

Remarks

The TABSEPARATOR can be used to separate TABs within the Tab control. The default style for the TABSEPARATOR is a vertical line for the horizontal Tab control or a horizontal line for the vertical Tab control. You can also set a TABSEPARATOR to render as an image within the Tab control. To do this, set the SEPDEFAULTIMAGEURL attribute on the TABSTRIP element or set the DEFAULTSTYLE on the TABSEPARATOR element.

The SEPDEFAULTIMAGEURL attribute of the TABSTRIP element defines the default image for all TABSEPARATORs which do not have a DEFAULTSTYLE attribute set. The DEFAULTSTYLE of a TABSEPARATOR overwrites the value set for the SEPDEFAULTSTYLE.

This element is a block element.

This element requires a closing tag.

Members Table

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

Attributes/Properties
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.
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.
Methods
Method Description
ToString Retrieves a System.String that indicates the current object.

Class Information

Namespace Microsoft.Web.UI.WebControls

Applies To

TABSTRIP

See Also

Show:
© 2014 Microsoft