MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design Namespace / Designer Class / ExecuteAction Method / ExecuteAction(DesignerAction,Object) Method
The DesignerAction to execute. This parameter specifies the action to be performed by the designer.
A parameter that can be passed to the action. This can be used to provide additional context or data required for the action's execution.

In This Topic
ExecuteAction(DesignerAction,Object) Method
In This Topic
Executes the specified DesignerAction command with an optional parameter. This method can be utilized when implementing custom toolbars or menus within the designer environment. It enables the execution of report actions in response to user interactions with toolbar or menu items.
Syntax
'Declaration
 
Public Overloads Sub ExecuteAction( _
   ByVal action As DesignerAction, _
   ByVal parameter As Object _
) 
 

Parameters

action
The DesignerAction to execute. This parameter specifies the action to be performed by the designer.
parameter
A parameter that can be passed to the action. This can be used to provide additional context or data required for the action's execution.
Remarks
The method supports a wide range of design-time actions, including but not limited to adding or removing controls, modifying properties, and triggering custom logic defined in extensions or plugins.
See Also