TOOLBARBUTTON Element | ToolbarButton Class
This class represents a ToolbarButton within a Toolbar.
Syntax
Visual Basic Public Class ToolbarButton Inherits ToolbarLabel C# public class ToolbarButton : ToolbarLabel Managed C++ public: __gc class ToolbarButton : public ToolbarLabel JScript public class ToolbarButton extends ToolbarLabel
Inheritance Hierarchy
Members Table
The following table lists the members exposed by the ToolbarButton object.
Attribute Property Description AnchorHref The post-back anchor script string. 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. SELECTEDSTYLE SelectedStyle Sets or retrieves a value that indicates the style for the selected element. UpLevelTag The uplevel tag name for the object item.
Event Description ButtonClick Fires when a ToolbarCheckButton or ToolbarButton is clicked.
Method Description Clone Creates a new object that is a copy of the current instance. LoadViewState Loads the item's previously saved view state. OnButtonClick When the button is clicked, calls the ButtonClick event handlers. RenderImage Renders the image tag. RenderText Renders the text property. SaveViewState Saves changes to the item's view state to an object. SetViewStateClean Sets all items within the StateBag to be clean. SetViewStateDirty Sets all items within the StateBag to be dirty. ToolbarItemEventHandler Delegate for click events. TrackViewState Instructs the control to track changes to its view state. WriteItemAttributes Renders the object item's attributes.
Class Information
Namespace Microsoft.Web.UI.WebControls Assembly Microsoft.Web.UI.WebControls.dll
Applies To
TOOLBAR
See Also