StiDashboardStyleHelper Class

Namespace: Stimulsoft.Report.Dashboard.Styles

Methods

Method Returns Description
ConvertToReportCardsStyle static StiCardsStyle  
ConvertToReportControlStyle static StiDialogStyle  
ConvertToReportGaugeStyle static StiGaugeStyle  
ConvertToReportIndicatorStyle static StiIndicatorStyle  
ConvertToReportPivotTableStyle static StiCrossTabStyle  
ConvertToReportProgressStyle static StiProgressStyle  
ConvertToReportRegionMapStyle static StiMapStyle  
GetBackColor static (+1 overloads) Color  
GetCardsStyle static (+1 overloads) StiCardsElementStyle  
GetChartStyle static (+1 overloads) IStiChartStyle  
GetControlStyle static StiControlElementStyle  
GetCopyChartStyle static StiChartStyle  
GetCopyTableStyle static (+1 overloads) StiTableStyle  
GetDashboardBackColor static Color  
GetDataEmptyColor static Color  
GetDataEmptyForeColor static Color  
GetDialogBackColor static Color  
GetDialogGlyphColor static Color  
GetDialogHotSelectedBackColor static Color  
GetDialogHotSelectedForeColor static Color  
GetDialogSelectedBackColor static Color  
GetDialogSelectedForeColor static Color  
GetDialogSeparatorColor static Color  
GetDialogStyle static StiDialogStyle  
GetElementTitleStyle static IStiTitleStyle  
GetFont static Font  
GetForeColor static (+1 overloads) Color  
GetGaugeStyle static (+1 overloads) StiGaugeStyleXF  
GetGlyphColor static Color  
GetHotBackColor static Color  
GetIndicatorStyle static StiIndicatorElementStyle  
GetMapStyle static (+1 overloads) StiMapStyleFX  
GetMapStyleIdent static StiMapStyleIdent  
GetNativeForeColor static Color  
GetPivotTableStyle static StiPivotElementStyle  
GetProgressStyle static StiProgressElementStyle  
GetStyle static StiElementStyleIdent  
GetStyleForDataViewTable static StiTableElementStyle Resulting style may be incomplete, as it contains only colors that are needed to paint a specific type of table.
GetTableStyle static (+2 overloads) StiTableElementStyle  
GetTitleForeColor static Color  
IsDarkStyle static (+3 overloads) bool  

Method Details

ConvertToReportCardsStyle static

ConvertToReportCardsStyle(element: IStiCardsElement): StiCardsStyle

Parameters

  • element (IStiCardsElement)

Returns StiCardsStyle


ConvertToReportControlStyle static

ConvertToReportControlStyle(element: IStiControlElement): StiDialogStyle

Parameters

  • element (IStiControlElement)

Returns StiDialogStyle


ConvertToReportGaugeStyle static

ConvertToReportGaugeStyle(element: IStiGaugeElement): StiGaugeStyle

Parameters

  • element (IStiGaugeElement)

Returns StiGaugeStyle


ConvertToReportIndicatorStyle static

ConvertToReportIndicatorStyle(element: IStiIndicatorElement): StiIndicatorStyle

Parameters

  • element (IStiIndicatorElement)

Returns StiIndicatorStyle


ConvertToReportPivotTableStyle static

ConvertToReportPivotTableStyle(element: IStiPivotTableElement): StiCrossTabStyle

Parameters

  • element (IStiPivotTableElement)

Returns StiCrossTabStyle


ConvertToReportProgressStyle static

ConvertToReportProgressStyle(element: IStiProgressElement): StiProgressStyle

Parameters

  • element (IStiProgressElement)

Returns StiProgressStyle


ConvertToReportRegionMapStyle static

ConvertToReportRegionMapStyle(element: IStiRegionMapElement): StiMapStyle

Parameters

  • element (IStiRegionMapElement)

Returns StiMapStyle


GetBackColor static

GetBackColor(element: object, defaultColor: Color?, allowOpacity: bool): Color

Parameters

  • element (object)
  • defaultColor (Color?)
  • allowOpacity (bool)

Returns Color


GetBackColor(style: StiElementStyleIdent): Color

Parameters

Returns Color


GetCardsStyle static

GetCardsStyle(element: IStiCardsElement): StiCardsElementStyle

Parameters

  • element (IStiCardsElement)

Returns StiCardsElementStyle


GetCardsStyle(style: StiElementStyleIdent): StiCardsElementStyle

Parameters

Returns StiCardsElementStyle


GetChartStyle static

GetChartStyle(element: IStiChartElement): IStiChartStyle

Parameters

  • element (IStiChartElement)

Returns IStiChartStyle


GetChartStyle(style: StiElementStyleIdent): IStiChartStyle

Parameters

Returns IStiChartStyle


GetControlStyle static

GetControlStyle(element: object): StiControlElementStyle

Parameters

  • element (object)

Returns StiControlElementStyle


GetCopyChartStyle static

GetCopyChartStyle(chartStyle: IStiChartStyle, element: IStiChartElement): StiChartStyle

Parameters

  • chartStyle (IStiChartStyle)
  • element (IStiChartElement)

Returns StiChartStyle


GetCopyTableStyle static

GetCopyTableStyle(element: IStiTableElement, tableStyle: StiTableElementStyle): StiTableStyle

Parameters

  • element (IStiTableElement)
  • tableStyle (StiTableElementStyle)

Returns StiTableStyle


GetCopyTableStyle(element: IStiGridUI, tableStyle: StiTableElementStyle): StiTableStyle

Parameters

  • element (IStiGridUI)
  • tableStyle (StiTableElementStyle)

Returns StiTableStyle


GetDashboardBackColor static

GetDashboardBackColor(surface: IStiSurface, isViewer: bool): Color

Parameters

Returns Color


GetDataEmptyColor static

GetDataEmptyColor(element: IStiElement): Color

Parameters

  • element (IStiElement)

Returns Color


GetDataEmptyForeColor static

GetDataEmptyForeColor(element: IStiElement): Color

Parameters

  • element (IStiElement)

Returns Color


GetDialogBackColor static

GetDialogBackColor(element: object): Color

Parameters

  • element (object)

Returns Color


GetDialogGlyphColor static

GetDialogGlyphColor(element: object): Color

Parameters

  • element (object)

Returns Color


GetDialogHotSelectedBackColor static

GetDialogHotSelectedBackColor(element: object): Color

Parameters

  • element (object)

Returns Color


GetDialogHotSelectedForeColor static

GetDialogHotSelectedForeColor(element: object): Color

Parameters

  • element (object)

Returns Color


GetDialogSelectedBackColor static

GetDialogSelectedBackColor(element: object): Color

Parameters

  • element (object)

Returns Color


GetDialogSelectedForeColor static

GetDialogSelectedForeColor(element: object): Color

Parameters

  • element (object)

Returns Color


GetDialogSeparatorColor static

GetDialogSeparatorColor(element: object): Color

Parameters

  • element (object)

Returns Color


GetDialogStyle static

GetDialogStyle(element: object): StiDialogStyle

Parameters

  • element (object)

Returns StiDialogStyle


GetElementTitleStyle static

GetElementTitleStyle(element: IStiElement): IStiTitleStyle

Parameters

  • element (IStiElement)

Returns IStiTitleStyle


GetFont static

GetFont(element: object): Font

Parameters

  • element (object)

Returns Font


GetForeColor static

GetForeColor(element: object, defaultColor: Color?, isEnabled: bool, checkExpression: bool): Color

Parameters

  • element (object)
  • defaultColor (Color?)
  • isEnabled (bool)
  • checkExpression (bool)

Returns Color


GetForeColor(ident: StiElementStyleIdent): Color

Parameters

Returns Color


GetGaugeStyle static

GetGaugeStyle(element: IStiGaugeElement): StiGaugeStyleXF

Parameters

  • element (IStiGaugeElement)

Returns StiGaugeStyleXF


GetGaugeStyle(style: StiElementStyleIdent): StiGaugeStyleXF

Parameters

Returns StiGaugeStyleXF


GetGlyphColor static

GetGlyphColor(element: IStiIndicatorElement): Color

Parameters

  • element (IStiIndicatorElement)

Returns Color


GetHotBackColor static

GetHotBackColor(element: IStiElement): Color

Parameters

  • element (IStiElement)

Returns Color


GetIndicatorStyle static

GetIndicatorStyle(element: IStiIndicatorElement): StiIndicatorElementStyle

Parameters

  • element (IStiIndicatorElement)

Returns StiIndicatorElementStyle


GetMapStyle static

GetMapStyle(element: IStiRegionMapElement): StiMapStyleFX

Parameters

  • element (IStiRegionMapElement)

Returns StiMapStyleFX


GetMapStyle(style: StiElementStyleIdent): StiMapStyleFX

Parameters

Returns StiMapStyleFX


GetMapStyleIdent static

GetMapStyleIdent(element: IStiRegionMapElement): StiMapStyleIdent

Parameters

  • element (IStiRegionMapElement)

Returns StiMapStyleIdent


GetNativeForeColor static

GetNativeForeColor(element: object): Color

Parameters

  • element (object)

Returns Color


GetPivotTableStyle static

GetPivotTableStyle(element: IStiPivotTableElement): StiPivotElementStyle

Parameters

  • element (IStiPivotTableElement)

Returns StiPivotElementStyle


GetProgressStyle static

GetProgressStyle(element: IStiProgressElement): StiProgressElementStyle

Parameters

  • element (IStiProgressElement)

Returns StiProgressElementStyle


GetStyle static

GetStyle(element: object): StiElementStyleIdent

Parameters

  • element (object)

Returns StiElementStyleIdent


GetStyleForDataViewTable static

GetStyleForDataViewTable(element: IStiElement): StiTableElementStyle

Resulting style may be incomplete, as it contains only colors that are needed to paint a specific type of table.

Parameters

  • element (IStiElement)

Returns StiTableElementStyle


GetTableStyle static

GetTableStyle(element: IStiGridUI): StiTableElementStyle

Parameters

  • element (IStiGridUI)

Returns StiTableElementStyle


GetTableStyle(element: IStiTableElement): StiTableElementStyle

Parameters

  • element (IStiTableElement)

Returns StiTableElementStyle


GetTableStyle(style: StiElementStyleIdent): StiTableElementStyle

Parameters

Returns StiTableElementStyle


GetTitleForeColor static

GetTitleForeColor(element: IStiElement): Color

Parameters

  • element (IStiElement)

Returns Color


IsDarkStyle static

IsDarkStyle(dashboard: IStiDashboard): bool

Parameters

  • dashboard (IStiDashboard)

Returns bool


IsDarkStyle(screen: IStiScreen): bool

Parameters

  • screen (IStiScreen)

Returns bool


IsDarkStyle(element: IStiElement): bool

Parameters

  • element (IStiElement)

Returns bool


IsDarkStyle(ident: StiElementStyleIdent): bool

Parameters

Returns bool