Class EnumDescriptor
Represents a descriptor for an enum value, providing access to its value and description.
Inheritance
System.Object
EnumDescriptor
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI.Data
Assembly: Telerik.WinControls.UI.dll
Syntax
public class EnumDescriptor
Constructors
EnumDescriptor(Type, Object)
Initializes a new instance of the EnumDescriptor class.
Declaration
public EnumDescriptor(Type source, object value)
Parameters
System.Type
source
The enum type. |
System.Object
value
The enum value. |
Properties
Description
Gets or sets the description of the enum value.
Declaration
public string Description { get; set; }
Property Value
System.String
|
Value
Gets the enum value.
Declaration
public object Value { get; }
Property Value
System.Object
|