Show / Hide Table of Contents

Class ColorPickerHelper

Provides help methods for the ColorPicker

Inheritance
object
ColorPickerHelper
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public static class ColorPickerHelper

Methods

View Source

GetBaseColors()

Gets the BaseColors for ColorPicker

Declaration
public static List<BaseColor> GetBaseColors()
Returns
Type Description
List<BaseColor>
View Source

GetCustomColorListFromStrings(IEnumerable<string>)

Converts a list of strings to a list of CustomColors

Declaration
public static List<CustomColor> GetCustomColorListFromStrings(IEnumerable<string> colorStrings)
Parameters
Type Name Description
IEnumerable<string> colorStrings
Returns
Type Description
List<CustomColor>
View Source

GetStringListFromCustomColors(IEnumerable<CustomColor>)

Converts a list of CustomColor to a list of strings

Declaration
public static List<string> GetStringListFromCustomColors(IEnumerable<CustomColor> customColors)
Parameters
Type Name Description
IEnumerable<CustomColor> customColors
Returns
Type Description
List<string>
  • View Source
Back to top Generated by DocFX