Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.

Available values:

Name Description
Unknown

An Action which is displayed in a pop-up Window is executed when an end-user clicks it or uses a predefined shortcut.

Accept

An Action which is displayed in a pop-up Window is executed when an end-user presses ENTER.

Cancel

An Action, which is displayed in a pop-up Window, is executed when an end-user presses ESC.

#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