IModelAction Members

Properties

Name Description
Caption

Specifies the Action's caption.

CaptionFormat

Specifies the format for a SingleChoiceAction caption.

Category

Indicates the current Action category.

ChoiceActionItems

Provides acess to the child ChoiceActionItems node.

ConfirmationMessage

Specifies the message displayed when an end-user executes the current Action.

Controller

Indicates the Controller in which the current Action is contained.

DefaultItemMode

Specifies the Choice Action Item that is executed when an end-user clicks the Choice Action.

DisableReasons

Provides access to the child DisableReasons node.

Id

Indicates the current Action identifier.

ImageMode

Specifies the type of the image that is displayed by the current Action's control.

ImageName

Specifies the name of the image that is displayed on the current action's control.

NullValuePrompt

Specifies the default text that is displayed in the Parametrized Action's control.

PaintStyle

Specifies how the current Action is displayed in Detail and List Views.

QuickAccess

Specifies whether the current Action is accessible via the Quick Access Toolbar (this toolbar is available when the Ribbon UI is used in Windows Forms application).

SelectionDependencyType

Specifies a context for enabling the Action.

ShortCaption

Specifies the caption for a Parametrized Action's button.

Shortcut

Defines the keyboard shortcut used to execute the current Action. Has effect in WinForms applications only.

ShowItemsOnClick

Specifies whether to execute the Action when clicking it, or show its drop-down with items.

TargetObjectType

Indicates the type of objects for which the current Action is available.

TargetObjectsCriteria

Specifies the criteria that must be satisfied by the selected object(s) to make the current Action enabled.

TargetObjectsCriteriaMode

Specifies whether all the currently selected objects must satisfy the IModelAction.TargetObjectsCriteria criteria to make the Action enabled.

TargetViewId

Specifies the identifier of the View for which the Action is activated, or a semicolon-separated list of identifiers if the Action targets multiple Views.

TargetViewNesting

Indicates the type of the View for which the Action is activated.

TargetViewType

Indicates the type of the View for which the Action is activated.