Class ColorExtension
A collection of utilities related to color.
Inheritance
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Controls.Diagrams.dll
Syntax
public sealed class ColorExtension : ValueType
Methods
ToBrush(ColorExtension)
Converts ColorExtension to Brush.
Declaration
public static Brush ToBrush(ColorExtension color)
Parameters
ColorExtension
color
The color. |
Returns
System.Windows.Media.Brush
|
Operators
Implicit(UInt32 to ColorExtension)
Performs an implicit conversion from System.UInt32 to ColorExtension.
Declaration
public static implicit operator ColorExtension(uint color)
Parameters
System.UInt32
color
The color. |
Returns
ColorExtension
The result of the conversion. |
Implicit(ColorExtension to Int32)
Performs an implicit conversion from ColorExtension to System.UInt32.
Declaration
public static implicit operator int (ColorExtension color)
Parameters
ColorExtension
color
The color. |
Returns
System.Int32
The result of the conversion. |
Implicit(ColorExtension to Brush)
Performs an implicit conversion from ColorExtension to System.Windows.Media.Brush.
Declaration
public static implicit operator Brush(ColorExtension color)
Parameters
ColorExtension
color
The color. |
Returns
System.Windows.Media.Brush
The result of the conversion. |
Implicit(ColorExtension to Color)
Performs an implicit conversion from ColorExtension to System.Windows.Media.Color.
Declaration
public static implicit operator Color(ColorExtension color)
Parameters
ColorExtension
color
The color. |
Returns
System.Windows.Media.Color
The result of the conversion. |