New to Telerik UI for WPFStart a free 30-day trial

Holds extension methods for Enum class.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public static class EnumExtensions

Inheritance: objectEnumExtensions

Methods

Converts value to the enumerator of type T.

C#
public static T ConvertTo<T>(object value)
Parameters:valueobject

Value to be converted.

Returns:

T

Value converted to the enumerator type.

Retrieves an array of the values of the constants in a specified enumeration.

C#
public static object[] GetValues(Type enumType)
Parameters:enumTypeType

An enumeration type.

Returns:

object[]

In this article
DefinitionMethodsConvertTo<T>(object)GetValues(Type)
Not finding the help you need?
Contact Support