StiControlColorCollection Class

Namespace: Stimulsoft.Dashboard.Viewer.Controls

Constructors

Constructor Description
StiControlColorCollection(Control control)  

StiControlColorCollection(control: Control)

Parameters

  • control (Control)

Properties

Property Type Description
BackColor Color  
ForeColor Color  
GlyphColor Color  
HotBackColor Color  
HotForeColor Color  
HotGlyphColor Color  
HotSelectedBackColor Color  
HotSelectedForeColor Color  
HotSelectedGlyphColor Color  
IconSet StiDashboardViewerUIIconSet  
IsDarkMode bool  
SelectedBackColor Color  
SelectedForeColor Color  
SelectedGlyphColor Color  
SeparatorColor Color  
StyleIdent StiElementStyleIdent  

Methods

Method Returns Description
GetActionColors static StiControlColorCollection  
GetBackColor Color  
GetElementColors static StiControlColorCollection  
GetForeColor Color  
GetGlyphColor Color  
GetSeparatorColor Color  

Method Details

GetActionColors static

GetActionColors(element: IStiElement, isDarkMode: bool?): StiControlColorCollection

Parameters

  • element (IStiElement)
  • isDarkMode (bool?)

Returns StiControlColorCollection


GetBackColor

GetBackColor(isSelected: bool, isHot: bool): Color

Parameters

  • isSelected (bool)
  • isHot (bool)

Returns Color


GetElementColors static

GetElementColors(element: IStiElement): StiControlColorCollection

Parameters

  • element (IStiElement)

Returns StiControlColorCollection


GetForeColor

GetForeColor(isSelected: bool, isHot: bool): Color

Parameters

  • isSelected (bool)
  • isHot (bool)

Returns Color


GetGlyphColor

GetGlyphColor(isSelected: bool, isHot: bool): Color

Parameters

  • isSelected (bool)
  • isHot (bool)

Returns Color


GetSeparatorColor

GetSeparatorColor(): Color

Returns Color