Skip to main content

EnumDescriptor.EnumType Property

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

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v25.2.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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EnumType property.

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