Skip to main content
.NET 6.0+

ActionAttribute(PredefinedCategory) Constructor

Initializes a new instance of the ActionAttribute class with the specified ActionAttribute.Category property.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ActionAttribute(
    PredefinedCategory category
)

Parameters

Name Type Description
category DevExpress.Persistent.Base.PredefinedCategory

A PredefinedCategory enumeration value whose string representation is assigned to the ActionAttribute.Category property.

Remarks

You can pass a string representation of the required category instead. For this purpose, use the constructor with the string type parameter.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ActionAttribute(PredefinedCategory) constructor.

Note

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