Skip to main content

BaseObjectSpace.ConfirmationRequired Event

Occurs when performing Refresh or Rollback operations with the current Object Space’s persistent objects.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v25.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public event EventHandler<ConfirmationEventArgs> ConfirmationRequired

Event Data

The ConfirmationRequired event's data class is DevExpress.ExpressApp.ConfirmationEventArgs.

Remarks

BaseObjectSpace raises the ConfirmationRequired event from the BaseObjectSpace.Refresh or BaseObjectSpace.Rollback methods.

Windows Forms applications use this event to show confirmation messages. The following topics describe how to change this behavior:

When you create an Object Space and use it internally, handle the ConfirmationRequired event to show a confirmation message for the Refresh and Rollback operations. The confirmation type comes from the handler’s ConfirmationEventArgs.ConfirmationType parameter. Set the handler’s ConfirmationEventArgs.ConfirmationResult parameter to specify what operation the calling method should execute.

See Also