Class
EnumDescriptor

Represents a descriptor for an enum value, providing access to its value and description.

Definition

Namespace:Telerik.WinControls.UI.Data

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class EnumDescriptor

Inheritance: objectEnumDescriptor

Constructors

EnumDescriptor(Type, object)

Initializes a new instance of the EnumDescriptor class.

Declaration

cs-api-definition
public EnumDescriptor(Type source, object value)

Parameters

source

Type

The enum type.

value

object

The enum value.

Properties

Description

Gets or sets the description of the enum value.

Declaration

cs-api-definition
public string Description { get; set; }

Property Value

string

Value

Gets the enum value.

Declaration

cs-api-definition
public object Value { get; }

Property Value

object