Class EnumMemberViewModel
Holds information about an Enum member.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public class EnumMemberViewModel
Constructors
EnumMemberViewModel(Object, String, String)
Initializes a new instance of the EnumMemberViewModel class.
Declaration
public EnumMemberViewModel(object value, string name, string description)
Parameters
System.Object
value
The value. |
System.String
name
The name. |
System.String
description
The description. |
EnumMemberViewModel(Object, String, String, String)
Initializes a new instance of the EnumMemberViewModel class.
Declaration
public EnumMemberViewModel(object value, string name, string description, string displayShortName)
Parameters
System.Object
value
The value. |
System.String
name
The name. |
System.String
description
The description. |
System.String
displayShortName
The short name. |
Properties
Description
Returns the Description of the DescriptionAttribute, if present.
Declaration
public string Description { get; }
Property Value
System.String
The Description of the DescriptionAttribute, if present. |
DisplayName
Returns the first of the following properties that is not null:
- DisplayShortName.
- Description.
- Name.
Declaration
public string DisplayName { get; }
Property Value
System.String
The display name. |
DisplayShortName
Returns the ShortName of the DisplayAttribute, if present.
Declaration
public string DisplayShortName { get; }
Property Value
System.String
The ShortName of the DisplayAttribute, if present. |
Name
Gets the name.
Declaration
public string Name { get; }
Property Value
System.String
The name. |
Value
Gets the value.
Declaration
public object Value { get; }
Property Value
System.Object
The value. |
Methods
ToString()
Declaration
public override string ToString()
Returns
System.String
|