TOOLBAR Element | Toolbar Class

This class represents a Toolbar.

Syntax

Visual Basic  Public  Class Toolbar Inherits BasePostBackControl
C# public   class Toolbar : BasePostBackControl
Managed C++ public:  __gc class Toolbar :  public BasePostBackControl
JScript public   class Toolbar extends BasePostBackControl

Inheritance Hierarchy

Object::Control::WebControl::BaseRichControl::BasePostBackControl

Members Table

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

Attribute Property Description
AUTOPOSTBACK AutoPostBack Sets or retrieves a value that indicates whether or not the control posts back to the server each time a user interacts with the control.
DEFAULTSTYLE DefaultStyle Sets or retrieves a value that indicates the default style for the element.
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.
Items Retrieves the collection of ToolbarItem objects that are in the Toolbar.
NeedHelper Returns true, indicating that a hidden helper is needed by the control.
ORIENTATION Orientation Sets or retrieves a value that indicates the alignment of the object within the document.
SELECTEDSTYLE SelectedStyle Sets or retrieves a value that indicates the style for the selected element.
Element Object Description
TOOLBARBUTTON ToolbarButton This class represents a ToolbarButton within a Toolbar.
TOOLBARCHECKBUTTON ToolbarCheckButton This class represents a ToolbarCheckButton within a Toolbar.
TOOLBARCHECKGROUP ToolbarCheckGroup This class represents a ToolbarCheckGroup within a Toolbar.
TOOLBARDROPDOWNLIST ToolbarDropDownList This class represents a ToolbarDropDownList within a Toolbar.
TOOLBARLABEL ToolbarLabel This class represents a ToolbarLabel within a Toolbar.
TOOLBARSEPARATOR ToolbarSeparator This class represents a ToolbarSeparator within a Toolbar.
TOOLBARTEXTBOX ToolbarTextBox This class represents a ToolbarTextBox within a Toolbar.
Event Description
ButtonClick Fires when a ToolbarCheckButton or ToolbarButton is clicked.
CheckChange Fires when a ToolbarCheckButton element changes state.
Method Description
CreateControlCollection Creates an EmptyControlCollection object to prevent controls from being added to the ControlCollection.
LoadPostData Processes post-back data from a server control.
LoadViewState Loads the item's previously saved view state.
OnButtonClick Fires when a button or checkbutton is clicked.
OnCheckChange Fires when a checkbutton's state changes.
OnInit Initializes the object.
OnPreRender Raises the PreRender event.
PostCheckChangeEvent Performs the necessary bubbling upon the firing of CheckChange event.
ProcessData Processes post-back data for the server control from the hidden helper's data.
RaisePostBackEvent Enables a server control to process an event raised when a form is posted to the server.
RaisePostDataChangedEvent Signals the server control object to notify the ASP.NET application that the state of the control has changed.
RenderContents Renders the contents of the control into the specified HtmlTextWriter.
RenderDesignerPath Implements the rendering path for the Microsoft Visual Studio .NET Editor.
RenderDownLevelPath Implements the downLevel rendering path in this method.
RenderUpLevelPath Implements the uplevel rendering path for this method.
SaveViewState Saves changes to the item's view state to an object.
TrackViewState Instructs the control to track changes to its view state.

Class Information

Namespace Microsoft.Web.UI.WebControls
Assembly Microsoft.Web.UI.WebControls.dll

See Also

Internet Explorer WebControls, About the Toolbar WebControl