Class ColorPickerHelper
Provides help methods for the ColorPicker
Inheritance
System.Object
ColorPickerHelper
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: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public static class ColorPickerHelper
Methods
View SourceGetBaseColors()
Gets the BaseColors for ColorPicker
Declaration
public static List<BaseColor> GetBaseColors()
Returns
Type | Description |
---|---|
System. |
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 |
---|---|---|
System. |
colorStrings |
Returns
Type | Description |
---|---|
System. |
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 |
---|---|---|
System. |
customColors |
Returns
Type | Description |
---|---|
System. |