menu

WPF

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

    Show / Hide Table of Contents

    Class LocalizeEnumChartColorPalette

    The class creates an extension method on the actual enum "ChartColorPalette" which then allows you to call a ToFriendlyString() on the instance of all enums of that type Which could be used for localization

    Inheritance
    System.Object
    LocalizeEnumChartColorPalette
    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.Chart
    Assembly: Syncfusion.Chart.Wpf.dll
    Syntax
    public static class LocalizeEnumChartColorPalette

    Methods

    ToFriendlyString(ChartColorPalette)

    Returns a friendly enum name, used for localization

    Declaration
    public static string ToFriendlyString(this ChartColorPalette chartColorPaletteEnum)
    Parameters
    Type Name Description
    ChartColorPalette chartColorPaletteEnum

    The chart color palette enum.

    Returns
    Type Description
    System.String

    Returns string from ResourceDictionary

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