Click or drag to resize

ToolbarButton Class

Represents a toolbar button.
Inheritance Hierarchy
System.Web.UIControl
  Dynamicweb.ControlsToolbarButton

Namespace:  Dynamicweb.Controls
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
[DefaultPropertyAttribute("Name")]
public class ToolbarButton : Control

The ToolbarButton type exposes the following members.

Constructors
  NameDescription
Public methodToolbarButton
Initializes a new instance of an object.
Public methodToolbarButton(String, String)
Initializes a new instance of an object.
Public methodToolbarButton(String, String, IconType, String)
Initializes a new instance of an object.
Public methodToolbarButton(String, String, KnownIcon, String)
Initializes a new instance of the ToolbarButton class
Public methodToolbarButton(String, String, String, String)
Initializes a new instance of an object.
Top
Properties
  NameDescription
Public propertyDisabled
Gets or sets value indicating whether button is disabled.
Public propertyDivide
Gets or sets button division type.
Public propertyIcon
Stores and retrieves the predefined button icon. Icons wins over images!
Public propertyIconColor
Public propertyImage
Gets or sets a button image (can be overrided with "ImagePath" property).
Public propertyImagePath
Gets or sets a button image path.
Public propertyKeyboardShortcut
Gets or sets the keboard shortcut for button
Public propertyModuleSystemName
Get and set required module to see this item
Public propertyOnClientClick
Gets or sets a Javascript handler which is executed when user clicks on a button.
Public propertyShowOptions
Gets or sets a value indicating whether to show button "Options" arrow.
Public propertyShowOptionsOnClick
Gets or sets a Javascript handler which is executed when user clicks on a button options.
Public propertyShowOptionsSeparator
Gets or sets value indicating whether to render a vertical line between the button text and "Options" arrow.
Public propertyShowText
Gets or sets a value indicating whether to show button text.
Public propertyShowWait
Gets or sets a value indicating whether a wait overlay will be displayed when button is clicked.
Public propertySize
Stores and retrieves the size of the button image.
Public propertyText
Gets or sets a button text.
Public propertyTranslate
Gets or sets a value indicating whether to translate button text.
Public propertyVersion
Get and set minimum required version to use the button
Public propertyWaitMessage
Gets or sets the wait message to show when button is pressed if ShowWait is enabled.
Public propertyWaitTimeout
Gets or sets the wait timeout in ms.
Top
Methods
  NameDescription
Public methodKeyboardShortcutAppend
Appends keyboard shortcut to a toolbar button
Protected methodRender
Renders toolbar button.
Top
Remarks