Click or drag to resize

ContextMenuButton Class

Represents a context menu button.
Inheritance Hierarchy
System.Web.UIControl
  Dynamicweb.ControlsContextMenuButton

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

The ContextMenuButton type exposes the following members.

Constructors
  NameDescription
Public methodContextMenuButton
Initializes a new instance of the ContextMenuButton class
Top
Properties
  NameDescription
Public propertyArrowImagePath
Gets or sets the arrow image path.
Public propertyChecked
Gets or sets if the button is checked. Image and Imagepath is ignored when true.
Public propertyChildItems
Collection of menu child items
Public propertyDisabled
Gets or sets value indicating whether the button is disabled.
Public propertyDivide
Gets or sets the button divider type.
Public propertyDoTranslate Obsolete.
Public propertyIcon
Stores and retrieves the predefined button icon. Icons wins over images!
Public propertyIconColor
Public propertyImage
Gets or sets the button image (can be overriden with the "ImagePath" property).
Public propertyImagePath
Gets or sets the button image path.
Public propertyModuleSystemName
Get and set required module to see this item
Public propertyOnClientClick
Gets or sets the client-script which is executed when user clicks on a button.
Public propertyOnClientGetState
Public propertyText
Gets or sets the button text.
Public propertyTranslate
Public propertyUseCheckbox
Public propertyVersion
Get and set minimum required version to use the button
Public propertyViews
Gets or sets the views associated with this button.
Public propertyWidth
Gets or sets the context menu button width.
Top
Methods
  NameDescription
Protected methodCreateChildControls
Protected methodRender
Renders context menu button.
Top
Remarks