TOOLBARBUTTON Element | ToolbarButton Class
Adds a ToolbarButton element to an ASP.NET Web Form.
Syntax
ASP <tagPrefix:TOOLBARBUTTON ... >
Possible Values
tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive.
Members Table
The following table lists the members exposed by the ToolbarButton object.
Attribute Property Description AccessKey Sets or retrieves the keyboard shortcut key (AccessKey) for setting focus to the item. 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. 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. IMAGEURL ImageUrl Sets or retrieves a value that indicates the URL of the image to be displayed on a node or toolbar item. Index Retrieves the index of the toolbar item within the parent. Parent Retrieves the parent object of a node. ParentToolbar The Toolbar control that contains this item. 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. ToolTip Sets or retrieves the ToolTip for the item to be displayed when the cursor is over the control.
Event Description onbuttonclick Fires when a ToolbarCheckButton or ToolbarButton is clicked.
Method Description Clone Creates a new object that is a copy of the current instance. ToString Retrieves a System.String that indicates the current object.
Class Information
Namespace Microsoft.Web.UI.WebControls
Applies To
TOOLBAR
See Also