ActionBase Members
In This Article
#Fields
Name | Description |
---|---|
Any |
Specifies the caption for the Action |
Require |
Returns a context for enabling/disabling the Action whose Action |
Require |
Returns a context for enabling/disabling the Action whose Action |
#Properties
Name | Description |
---|---|
Action |
Specifies whether an Action is represented by an accept, cancel or ordinal button in a Window Forms application’s pop-up Windows. |
Active | Gets a collection of reason/value pairs used to determine or change the Action‘s active state. The resulting state determines the Action’s visibility. |
Application |
Provides access to an Xaf |
Available | |
Can |
Gets a value indicating whether the component can raise an event. Inherited from Component. |
Caption | Specifies an Action‘s caption. |
Category | Specifies an Action‘s category. |
Confirmation |
Specifies the confirmation message displayed when an end-user executes an Action. |
Container | Gets the IContainer that contains the Component. Inherited from Component. |
Controller | Provides access to an Action‘s Controller. |
Data | For internal use. |
Design |
Gets a value that indicates whether the Component is currently in design mode. Inherited from Component. |
Diagnostic |
Specifies information on an Action. This information is appended to the information on the remaining Actions and their Controllers and displayed via the Diagnostic |
Enabled | Provides access to a collection of key/value pairs used to determine an Action‘s enabled/disabled state. A Disabled Action is visible in the UI, but it is grayed out and cannot be executed. |
Events protected | Gets the list of event handlers that are attached to this Component. Inherited from Component. |
Has |
Indicates whether an Action has an image assigned to it. |
Id | Specifies an Action‘s identifier. |
Image |
Specifies a name of the image displayed for an Action. |
Is |
Gets a value indicating whether an Action has been disposed of. |
Is |
|
Is |
For internal use. |
Lock |
Indicates the count of the Action |
Model | Gets the Action‘s settings. |
Paint |
Specifies the Action‘s paint style. |
Quick |
Specifies whether the current Action is accessible via the Quick Access Toolbar (this toolbar is available when the Ribbon UI is used). |
Selection |
Specifies a context of an Action‘s execution. |
Selection |
Specifies a context for enabling an Action. |
Shortcut |
Defines the keyboard shortcut used to execute the current Action. Has effect in Win |
Site | Gets or sets the ISite of the Component. Inherited from Component. |
Tag | Provides access to the object that contains data about the Action. |
Target |
Specifies a logical expression (criteria) for enabling an Action. |
Target |
Specifies whether all the currently selected objects must satisfy the Action |
Target |
Specifies the type of the object |
Target |
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. |
Target |
Specifies whether the View, for which an Action is intended, must be root, nested or any. |
Target |
Specifies the type of the View, for which an Action is intended. |
Test |
For internal use only. |
Tool |
Specifies a tooltip for an Action. |
Type |
Specifies the type of the View for which an Action is intended. |
#Methods
Name | Description |
---|---|
Assign |
Shares a specified Action’s settings to the current Action. |
Assign |
Applies settings stored in the specified Application Model’s node to the current Action. |
Begin |
Prevents an Action from being updated until the Action |
Dispose() | Releases all resources used by the Component. Inherited from Component. |
End |
Unlocks an Action after a call to the Action |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Get |
Returns a formatted confirmation message displayed when executing an Action. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
Inherited from Marshal |
Get |
Returns an object that represents a service provided by the Component or by its Container. Inherited from Component. |
Get |
Returns the Action‘s total tooltip. Intended for internal use. |
Get |
Returns the Action‘s total tooltip. Intended for internal use. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Initialize |
Obtains a lifetime service object to control the lifetime policy for this instance.
Inherited from Marshal |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Memberwise |
Creates a shallow copy of the current Marshal |
Raise |
For internal use. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Reset |
Restores an Action‘s Action |
To |
Returns an Action‘s textual representation. |
#Events
Name | Description |
---|---|
Changed |
Occurs after one of the current Action |
Custom |
Occurs when the Action |
Custom |
Occurs when an Action‘s Tool |
Customize |
|
Customize |
Fires after the control is initialized. Allows you to customize the control. |
Disposed | Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component. |
Disposing | Occurs when disposing of an Action. |
Execute |
Occurs after execution of the Action has been cancelled. |
Execute |
Occurs after all actions implemented in the Execute, Action |
Executed | Occurs after executing an Action. |
Executing | Occurs before an end-user performs the operation that leads to raising an Action‘s Execute event. |
Handle |
For internal use only. |
Process |
Occurs after the Action |
See Also