Name | Description | |
---|---|---|
init | Initializes a new context menu command. This command should only be shown in the context menu, not the toolbar. Inherited from dundas.Command. |
Name | Description | |
---|---|---|
action | Gets or sets the action to be executed for this command. Inherited from dundas.Command. | |
caption | Gets or sets the caption of this command. Inherited from dundas.Command. | |
categoryName | Gets or sets the category name of this command. Inherited from dundas.Command. | |
cssClass | Gets or sets a custom CSS class that can be applied to the command element. Inherited from dundas.Command. | |
data | Storage for this command. Inherited from dundas.Command. | |
description | Gets or sets the description of this command. Inherited from dundas.Command. | |
id | Gets the ID of this command. Inherited from dundas.Command. | |
imageUrl | Gets or sets the image URL of this command. Inherited from dundas.Command. | |
invalidReason | Gets or sets the value to describe why this command is marked as invalid. Inherited from dundas.Command. | |
isActionAsync | Gets a value indicating whether or not the action is an async function. Inherited from dundas.Command. | |
isActionCollapse | Gets or sets a value defining whether the toolbar will collapse when the command is executed. Inherited from dundas.Command. | |
isDisposed | Gets a value indicating whether this instance has been disposed. Inherited from dundas.EventDisposable. | |
isEnabled | Gets or sets whether this command is enabled. Inherited from dundas.Command. | |
isTogglable | Gets or sets whether toggle is enabled for this command. Inherited from dundas.Command. | |
isToggled | Gets or sets whether this command is toggled. Inherited from dundas.Command. | |
isValid | Gets or sets a value indicating whether the command is valid. Inherited from dundas.Command. | |
sortOrder | Gets or sets the sort order for this command for insertion into toolbars and menus. Inherited from dundas.Command. | |
subCommands | Gets or sets the sub commands of this command. Inherited from dundas.Command. | |
toggleGroup | Gets or sets what toggle group this command is part of (for use as radio button). Inherited from dundas.Command. | |
uiCache | Gets the UI cache table Inherited from dundas.EventDisposable. |
Name | Description | |
---|---|---|
bind | Bind an event to this class object. Inherited from dundas.EventDisposable. | |
dispose | Disposes of the command. Inherited from dundas.EventDisposable. | |
execute | Execute the action. Inherited from dundas.Command. | |
fromJObject | Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class. | |
notifyCommandExecuted | Inherited from dundas.Command. | |
raiseBindEvent | Fire the event specified with eventName, or subscribe a handler. Inherited from dundas.EventDisposable. | |
subscribe | Subscribe or unsubscribe an event handler for an event. Inherited from dundas.EventDisposable. | |
subscribeDisposed | Subscribe to the disposed event. Inherited from dundas.EventDisposable. | |
subscribeIsEnabledChanged |
Subscribe an event handler for IsEnabled event change.
| |
subscribeOnce | Subscribe a one time event handler for an event. Inherited from dundas.EventDisposable. | |
toJSON | Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class. | |
trigger | Raise an event. Inherited from dundas.EventDisposable. | |
unbind | Unsubscribe an event. if handler is specified, unsubscribe that handler. if no parameters are specified, unbind everything. Inherited from dundas.EventDisposable. | |
unbindAll | unsubscribe all events. Inherited from dundas.EventDisposable. |