menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class EnumHelper - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class EnumHelper

    Helper class to allow users to get the values of a enumeration

    Inheritance
    System.Object
    EnumHelper
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.PropertyGrid
    Assembly: Syncfusion.PropertyGrid.Wpf.dll
    Syntax
    public static class EnumHelper

    Methods

    GetValues(Type)

    Get all the values of an enumeration of Type enumType

    Declaration
    public static object[] GetValues(Type enumType)
    Parameters
    Type Name Description
    System.Type enumType

    Enumeration type

    Returns
    Type Description
    System.Object[]

    Array of objects

    GetValues<T>()

    Get values of an enumeration of type T

    Declaration
    public static T[] GetValues<T>()
    Returns
    Type Description
    T[]

    List of types in a enumeration

    Type Parameters
    Name Description
    T

    Enumeration type

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved