.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

ActionBase.GetFormattedConfirmationMessage() Method

Returns a formatted confirmation message displayed when executing an Action.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v21.2.dll


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.

See Also