Class ColorIndexProvider
List of named colors from the "ColorIndex" enum.
Steps to change the palette:
- Add to the end of the ColorIndex enum (in Modelling)
- Add to this provider. The color palette in SCIL uses the color code in the styleHint field
- Update colors in fullcalendar.so.less so that css class colorX has the same color code returned by this list.
Inherited Members
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[MDOProviderPlugin("ColorIndex")]
public class ColorIndexProvider : LiteralsOnlyBase, ISoListProvider, ISoList
Constructors
ColorIndexProvider()
List of named colors from the "ColorIndex" enum.
Steps to change the palette:
- Add to the end of the ColorIndex enum (in Modelling)
- Add to this provider. The color palette in SCIL uses the color code in the styleHint field
- Update colors in fullcalendar.so.less so that css class colorX has the same color code returned by this list.
Declaration
public ColorIndexProvider()
Fields
ProviderName
List of named colors from the "ColorIndex" enum.
Steps to change the palette:
- Add to the end of the ColorIndex enum (in Modelling)
- Add to this provider. The color palette in SCIL uses the color code in the styleHint field
- Update colors in fullcalendar.so.less so that css class colorX has the same color code returned by this list.
Declaration
public const string ProviderName = "ColorIndex"
Field Value
| Type | Description |
|---|---|
| string |
Methods
AddItemsAsync(CancellationToken)
Create the hard-coded item list
Declaration
protected override Task AddItemsAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |