Skip to main content
.NET 6.0+

ActionBase.GetFormattedConfirmationMessage() Method

Returns a formatted confirmation message displayed when executing an Action.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp


public string GetFormattedConfirmationMessage()


Type Description

A string that represents a formatted confirmation message.


Via an Action’s ActionBase.ConfirmationMessage property, you can specify a message that will be displayed before executing the Action. Moreover, you can set this property to a string value that contains variables. When an Action Container performs a confirmation dialog display, it uses the GetFormattedConfirmationMessage method to get the specified message.

When implementing a custom Action Container, use the GetFormattedConfirmationMessage to get an Action’s cofirmation message.

You can handle the ActionBase.CustomGetFormattedConfirmationMessage event to customize this method result.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetFormattedConfirmationMessage() method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also