Skip to main content
.NET 8.0+

ActionBase.ActionMeaning Property

Specifies whether an Action is represented by an accept, cancel or ordinal button in a Window Forms application’s pop-up Windows.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[DefaultValue(ActionMeaning.Unknown)]
public ActionMeaning ActionMeaning { get; set; }

Property Value

Type Default Description
ActionMeaning Unknown

An ActionMeaning enumeration value.

Remarks

This property is considered for Actions that are displayed in pop-up Windows in Windows Forms applications. The following values are available:

  • ActionMeaning.Accept

    The Action is executed when an end-user presses ENTER.

  • ActionMeaning.Cancel

    The Action is executed when an end-user presses ESC.

  • ActionMeaning.Unknown

    The Action is executed when an end-user clicks it or uses a predefined shortcut.

You can add an Action to a pop-up Window. For this purpose, set its ActionBase.Category property to the “ObjectsCreation” or “PopupActions” value. This, means that the Action will be mapped to the ObjectsCreation or PopupActions Action Container. So, the Action will be displayed in pop-up Windows which are represented by the LookupControlTemplate or PopupForm Template, because the former contains both these Action Containers and the former - the “PopupActions” Action Container.

You can process the ActionMeaning property in a custom Action Container. In this instance, do not forget to add this Container to a built-in Template or a custom one (see How to: Create a Custom WinForms Ribbon Template).

See Also