ClassEnumMemberViewModel
Class
Holds information about an Enum member.
Definition
Namespace:Telerik.Windows.Data
Assembly:Telerik.Windows.Data.dll
Syntax:
cs-api-definition
public class EnumMemberViewModel
Inheritance: objectEnumMemberViewModel
Derived Classes:
Constructors
EnumMemberViewModel(object, string, string)
Initializes a new instance of the EnumMemberViewModel class.
EnumMemberViewModel(object, string, string, string)
Initializes a new instance of the EnumMemberViewModel class.
Properties
Description
Returns the Description of the DescriptionAttribute, if present.
Declaration
cs-api-definition
public string Description { get; }
Property Value
The Description of the DescriptionAttribute, if present.
DisplayName
Returns the first of the following properties that is not null:
- DisplayShortName.
- Description.
- Name.
Declaration
cs-api-definition
public string DisplayName { get; }
Property Value
The display name.
DisplayShortName
Returns the ShortName of the DisplayAttribute, if present.
Declaration
cs-api-definition
public string DisplayShortName { get; }
Property Value
The ShortName of the DisplayAttribute, if present.
Name
Gets the name.