Class UIStyleUtils
Contains conversion methods between FastReport's UIStyle to various enums.
Inheritance
System.Object
UIStyleUtils
Namespace: FastReport.Utils
Assembly: FastReport.dll
Syntax
public static class UIStyleUtils
Fields
UIStyleNames
Contains visual style names.
Declaration
public static readonly string[] UIStyleNames
Field Value
Type | Description |
---|---|
System.String[] |
Methods
GetAppWorkspaceColor(UIStyle)
Returns app workspace color for the given style.
Declaration
public static Color GetAppWorkspaceColor(UIStyle style)
Parameters
Type | Name | Description |
---|---|---|
UIStyle | style | UI style. |
Returns
Type | Description |
---|---|
System.Drawing.Color | The color. |
GetControlColor(UIStyle)
Returns control color for the given style.
Declaration
public static Color GetControlColor(UIStyle style)
Parameters
Type | Name | Description |
---|---|---|
UIStyle | style | UI style. |
Returns
Type | Description |
---|---|
System.Drawing.Color | The color. |
GetDotNetBarStyle(UIStyle)
Converts FastReport's UIStyle to eDotNetBarStyle.
Declaration
public static eDotNetBarStyle GetDotNetBarStyle(UIStyle style)
Parameters
Type | Name | Description |
---|---|---|
UIStyle | style | Style to convert. |
Returns
Type | Description |
---|---|
FastReport.DevComponents.DotNetBar.eDotNetBarStyle | Value of eDotNetBarStyle type. |
GetOffice2007ColorScheme(UIStyle)
Converts FastReport's UIStyle to eOffice2007ColorScheme.
Declaration
public static eOffice2007ColorScheme GetOffice2007ColorScheme(UIStyle style)
Parameters
Type | Name | Description |
---|---|---|
UIStyle | style | Style to convert. |
Returns
Type | Description |
---|---|
FastReport.DevComponents.DotNetBar.Rendering.eOffice2007ColorScheme | Value of eOffice2007ColorScheme type. |
GetTabStripStyle(UIStyle)
Converts FastReport's UIStyle to eTabStripStyle.
Declaration
public static eTabStripStyle GetTabStripStyle(UIStyle style)
Parameters
Type | Name | Description |
---|---|---|
UIStyle | style | Style to convert. |
Returns
Type | Description |
---|---|
FastReport.DevComponents.DotNetBar.eTabStripStyle | Value of eTabStripStyle type. |
GetTabStripStyle1(UIStyle)
Converts FastReport's UIStyle to eTabStripStyle.
Declaration
public static eTabStripStyle GetTabStripStyle1(UIStyle style)
Parameters
Type | Name | Description |
---|---|---|
UIStyle | style | Style to convert. |
Returns
Type | Description |
---|---|
FastReport.DevComponents.DotNetBar.eTabStripStyle | Value of eTabStripStyle type. |