Skip to main content
.NET Framework 4.5.2+

EnumDescriptor.EnumType Property

Specifies the underlying type of the enumeration represented by the EnumDescriptor.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public Type EnumType { get; }

Property Value

Type Description
Type

A Type object representing the underlying enumeration type.

Remarks

If the EnumDescriptor class was instantiated for a plain enumeration type, the EnumType property returns this type. If the EnumDescriptor was instantiated for a nullable enumeration type, the EnumType property returns the type of the underlying plain enumeration. To check whether the EnumDescriptor represents a nullable enumeration type, use the EnumDescriptor.IsNullable property.

See Also