The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

PopupWindowShowAction.Execute Event

Occurs when an end-user clicks the accept button on the Pop-up Window Show Action's pop-up Window.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public event PopupWindowShowActionExecuteEventHandler Execute
Public Event Execute As PopupWindowShowActionExecuteEventHandler
public event PopupWindowShowActionExecuteEventHandler Execute
Public Event Execute As PopupWindowShowActionExecuteEventHandler
public event PopupWindowShowActionExecuteEventHandler Execute
Public Event Execute As PopupWindowShowActionExecuteEventHandler

Event Data

The Execute event handler receives an argument of the PopupWindowShowActionExecuteEventArgs type. The following properties provide information specific to this event.

Property Description
Action Provides access to the Action being executed.
(Inherited from ActionBaseEventArgs)
CanCloseWindow Specifies whether to close a Pop-up Window Show Action's pop-up Window after clicking its accepting button.
CurrentObject Provides access to the current object represented by the currently displayed View.
PopupWindow Provides access to a Pop-up Window Show Actions' pop-up Window.
PopupWindowView Gets a View displayed within the PopupWindowShowActionExecuteEventArgs.PopupWindow.
PopupWindowViewCurrentObject Gets the current object of the PopupWindowShowActionExecuteEventArgs.PopupWindowView View.
PopupWindowViewSelectedObjects Gets the list of objects selected in the PopupWindowShowActionExecuteEventArgs.PopupWindowView View.
SelectedObjects Provides access to the objects selected in the currently invoked View.
ShowViewParameters Provides access to the ShowViewParameters object, specifying a View, displayed after executing the current Action.
(Inherited from ActionBaseEventArgs)

Remarks

Handle this event to execute custom code when clicking the accept button on the pop-up Window of the Pop-up Window Show Action. Use the handler's PopupWindowShowActionExecuteEventArgs.PopupWindow parameter to access the current pop-up Window. Use the PopupWindowShowActionExecuteEventArgs.PopupWindowViewCurrentObject and PopupWindowShowActionExecuteEventArgs.PopupWindowViewSelectedObjects properties to access the current and selected objects of the View displayed within the pop-up Window. You can also specify whether to close the pop-up Window after executing your code. To do this, use the PopupWindowShowActionExecuteEventArgs.CanCloseWindow parameter.

To execute custom code when clicking the cancel button on the pop-up Window, handle the PopupWindowShowAction.Cancel event.

If you need an additional View to be displayed after clicking the accept button, use the event handler's ActionBaseEventArgs.ShowViewParameters parameter to specify this View and its settings.

For additional information, refer to the How to: Access Objects Selected in the Current View help topic.

See Also