Class ColorHelper
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Utilities
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public static class ColorHelper
Methods
DColorToMColor(Color)
Converts a System.Drawing.Color to System.Windows.Media.Color.
Declaration
public static Color DColorToMColor(Color color)
Parameters
System.Drawing.Color
color
The System.Drawing.Color parameter. |
Returns
System.Windows.Media.Color
A System.Windows.Media.Color object |
DrawingToThemableColor(Color)
Converts a System.Drawing.Color to Windows.Documents.Spreadsheet.Model.ThemableColor.
Declaration
public static ThemableColor DrawingToThemableColor(Color color)
Parameters
System.Drawing.Color
color
The System.Drawing.Color parameter. |
Returns
ThemableColor
A Windows.Documents.Spreadsheet.Model.ThemableColor object |
MColorToDColor(Color)
Converts a System.Windows.Media.Color to System.Drawing.Color.
Declaration
public static Color MColorToDColor(Color color)
Parameters
System.Windows.Media.Color
color
The System.Windows.Media.Color parameter. |
Returns
System.Drawing.Color
A System.Drawing.Color object |
ThemableToDrawingColor(ThemableColor)
Converts a Windows.Documents.Spreadsheet.Model.ThemableColor to System.Drawing.Color.
Declaration
public static Color ThemableToDrawingColor(ThemableColor color)
Parameters
ThemableColor
color
The Windows.Documents.Spreadsheet.Model.ThemableColor parameter. |
Returns
System.Drawing.Color
A System.Drawing.Color object |