TOOLBARCHECKBUTTON Element | ToolbarCheckButton Class

Adds a ToolbarCheckButton element to an ASP.NET Web Form.

Syntax

ASP <tagPrefix:TOOLBARCHECKBUTTON ... >

Possible Values

tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive.

Remarks

The TOOLBARCHECKBUTTON derives from TOOLBARBUTTON. Unlike a TOOLBARBUTTON, however, a TOOLBARCHECKBUTTON can be made part of a TOOLBARCHECKGROUP, which mutually excludes the buttons.

Set the GROUP attribute on the TOOLBARCHECKBUTTON to specify a particular group that the TOOLBARCHECKBUTTON is part of. If this property is null, then the TOOLBARCHECKBUTTON is not part of a group.

This element is a block element.

This element requires a closing tag.

Members Table

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

Attribute Property Description
AccessKey Sets or retrieves the keyboard shortcut key (AccessKey) for setting focus to the item.
AnchorHref The post-back anchor script string.
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.
Enabled Sets or retrieves a value that indicates whether the item is enabled.
GROUP Group Retrieves the ToolbarCheckGroup that this ToolbarCheckButton belongs to.
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.
SELECTED Selected Sets or retrieves a value that indicates whether the object is selected.
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.
oncheckchange Fires when a ToolbarCheckButton element changes state.
Method Description
Clone Creates a new object that is a copy of the current instance.
Toggle Toggles the selected state of the ToolbarCheckButton.
ToString Retrieves a System.String that indicates the current object.

Class Information

Namespace Microsoft.Web.UI.WebControls

Applies To

TOOLBAR, TOOLBARCHECKGROUP

See Also

Internet Explorer WebControls, About the Toolbar WebControl