다음을 통해 공유


Tab Members

Include Protected Members
Include Inherited Members

Renders a control that displays a tab on the page.

The Tab type exposes the following members.

Constructors

  Name Description
Public method Tab Initializes a new instance of the Tab class.

Top

Properties

  Name Description
Public property CommandArgument Gets or sets an optional parameter that is passed to the Command event and the associated CommandName.
Public property CommandName Gets or sets the command name associated with the Tab control that is passed to the Command event.
Public property ImageUrlFileContext This member is reserved for internal use and is not intended to be used directly from your code.
Public property ImageUrlFileName This member is reserved for internal use and is not intended to be used directly from your code.
Protected property IsSelected Gets a value that indicates whether the Tab control is selected.
Public property Text Gets or sets the text to be displayed on the Tab control.
Public property TextLocId Gets or sets the identifier (ID) for the localized version of the Text.
Public property TextLocIdNum Gets or sets the numeric ID for the localized version of the Text.

Top

Methods

  Name Description
Protected method OnCommand Raises the Command event.
Protected method OnTabClick Raises the TabClick event.
Protected method Render Renders the HTML for the body of the Tab control to the HtmlTextWriter object provided. (Overrides Control.Render(HtmlTextWriter).)

Top

Events

  Name Description
Public event Command Occurs when the Tab control is clicked.
Public event TabClick Occurs when the Tab control is clicked.

Top

Fields

  Name Description
Public field ImageUrl Represents the URL of the image that is displayed for the Tab control.
Public field SectionGroup Represents the ID of the section group that is associated with the Tab control.
Public fieldStatic member TabSelectCommandName Represents the name of the command that is invoked when the Tab is selected.

Top

See Also

Reference

Tab Class

Microsoft.SharePoint.Portal.WebControls Namespace