The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v18.2.dll

Declaration

public ActionMeaning ActionMeaning { get; set; }
Public Property ActionMeaning As ActionMeaning

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