MindFusion.UI for WebForms Programmer's Guide

TabControl Members

Constructors Properties Methods Events
 


Represents a tab control.

The following tables list the members exposed by the TabControl type.

 Public Constructors

  Name Description

TabControl

Initializes a new instance of the TabControl class.

 Public Properties

  Name Description

ActiveTabChangedScript

Gets or sets the name of a JavaScript function that should be invoked when the active tab is changed

ActiveTabChangingScript

Gets or sets the name of a JavaScript function that should be invoked right before the active tab is changed

AutoPostBack

Gets or sets a value specifying whether the control should automatically post back to the server when the selected TabPage is changed.

ControlLoadedScript

Gets or sets the name of a JavaScript function that should be invoked when the control is loaded.

Controls

Control.ControlCollection override.

EnableReorder

Gets or sets a value indicating whether users are allowed to reorder tabs.

Multiline

Gets or sets a value indicating whether tabs can be arranged in more than one row or column.

SelectedIndex

Gets or sets the index of the currently selected TabPage.

SelectedTab

Gets or sets the currently selected TabPage.

TabCssClass

Gets or sets the CSS class, defining the common style of child tabs.

TabHeaderCssClass

Gets or sets the CSS class, defining the common style of child tabs' header.

Tabs

Gets the collection of TabPages for this control.

TabStripHeight

Gets or sets the height of the tab headers.

TabStripPlacement

Gets or sets the alignment of the tab headers.

TabStripScroll

Gets or sets a value indicating the type of tab scrolling.

TabStripWidth

Gets or sets the width of the tab headers.

Theme

Gets or sets the theme applied to the control's UI elements.

 Protected Properties

  Name Description

TagKey

WebControl.TagKey override.

 Public Methods

  Name Description

DataBind

Control.DataBind override.

LoadFromXml

Overloaded. Loads control data from an XML file or from a System.Xml.XmlDocument.

LoadPostData

When implemented by a derived class, processes postback data for an ASP.NET server control.

RaisePostBackEvent

When implemented by a derived class, enables a server control to process an event raised when a form is posted to the server.

RaisePostDataChangedEvent

When implemented by a derived class in the server control notifies the ASP.NET application that the state of the control has changed.

SaveToXml

Overloaded. Saves control data to an XML file or to a System.Xml.XmlDocument.

 Protected Methods

  Name Description

CreateChildControls

Control.CreateChildControls override.

LoadViewState

Control.LoadViewState override.

OnBeginLoad

Raises the BeginLoad event.

OnDeselected

Raises the Deselected event.

OnEndLoad

Raises the EndLoad event.

OnPreRender

Control.OnPreRender override.

OnSelected

Raises the Selected event.

OnSelectedIndexChanged

Raises the SelectedIndexChanged event.

OnTabPageCreated

Raises the TabPageCreated event.

OnTabPageDeleted

Raises the TabPageDeleted event.

Render

Control.Render override.

RenderContents

WebControl.RenderContents override.

SaveViewState

Control.SaveViewState override.

TrackViewState

Control.TrackViewState override.

 Public Events

  Name Description

BeginLoad

Raised when the component starts loading data from a file or memory stream.

Deselected

Raised when a tab is deselected.

EndLoad

Raised when the component ends loading data from a file or memory stream.

Selected

Raised when a tab is selected.

SelectedIndexChanged

Raised when the value of the SelectedIndex property has changed.

TabPageCreated

Raised when a TabPage is created.

TabPageDeleted

Raised when a TabPage is deleted.

 See Also