ClassEnumExtensions
Class
Holds extension methods for Enum class.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
cs-api-definition
public static class EnumExtensions
Inheritance: objectEnumExtensions
Methods
ConvertTo<T>(object)
Converts value to the enumerator of type T.
Declaration
cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")]
public static T ConvertTo<T>(object value)
Parameters
value
Value to be converted.
Returns
T
Value converted to the enumerator type.
GetValues(Type)
Retrieves an array of the values of the constants in a specified enumeration.