Skip to main content
.NET 8.0+

EnumDescriptor(Type, Dictionary<String, String>) Constructor

Creates and initializes a new instance of the EnumDescriptor class.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public EnumDescriptor(
    Type enumType,
    Dictionary<string, string> captionByName
)

Parameters

Name Type Description
enumType Type

A Type object representing either an enumeration type or a nullable enumeration type. The underlying enumeration type is assigned to the EnumDescriptor.EnumType property.

captionByName Dictionary<String, String>

Remarks

Generally, you do not need to use this constructor.

See Also