Click or drag to resize

RibbonBarButton Class

Represents a Ribbonbar button.
Inheritance Hierarchy

Namespace:  Dynamicweb.Controls
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
[DefaultPropertyAttribute("Text")]
public class RibbonBarButton : RibbonBarItem, 
	IPostBackEventHandler

The RibbonBarButton type exposes the following members.

Constructors
  NameDescription
Public methodRibbonBarButton
Initializes a new instance of the RibbonBarButton class
Top
Properties
  NameDescription
Public propertyActive
Stores and retrieves the value indicating whether button is active (highlighted).
Public propertyContextMenuId
ID of contextmenu linked to this button.
Public propertyCssClass
Gets or sets the additional CSS class name to apply.
Public propertyDisabled
Stores and retrieves the value indicating whether button is disabled.
Public propertyDoTranslate
If set to true (default) the Text is translated
Public propertyEnableServerClick
Gets or sets value indicating whether to raize postback 'OnClick' event for this button.
Public propertyHide
Stores and retrieves the value indicating whether not to show the button.
Public propertyIcon
Stores and retrieves the predefined button icon. Icons wins over images!
Public propertyIconColor
Public propertyImage
Stores and retrieves the predefined button image.
Public propertyImagePath
Stores and retrieves the path to the button image.
Public propertyIndependentRenderingInGroup
If set to true item should render self in group independently
(Inherited from RibbonBarItem.)
Public propertyKeyboardShortcut
Gets or sets the keboard shortcut for button
Public propertyModuleSystemName
Get and set required module to see this item
Public propertyNgClick
Public propertyOnClientClick
Gets or sets the client-side script which is executed when user clicks on a button.
Public propertyPerformValidation
Gets or sets a value indicating whether to perform post back validation.
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 propertySplitButton
Public propertyText
Stores and retrieves button text.
Public propertyTitle
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 ribbon bar item
(Inherited from RibbonBarItem.)
Public methodLoadPostData
Processes postback data for the item.
(Inherited from RibbonBarItem.)
Public methodRaisePostBackEvent
Enables a button to process an event raised when a form is posted to the server.
Public methodRaisePostDataChangedEvent
Signals the item to notify the ASP.NET application that the state of the item has changed.
(Inherited from RibbonBarItem.)
Public methodRaisesEvent(String)
Determines whether the item is currently raising specified event.
(Inherited from RibbonBarItem.)
Protected methodRaisesEvent(String, String)
Determines whether the item is currently raising specified event.
(Inherited from RibbonBarItem.)
Public methodRenderControl
Renders button.
Top
Events
  NameDescription
Public eventClick
Server-side "OnClick" event.
Top
Remarks