Class ColorBlendExtension
Provides XmlSerialization parsing for ColorBlend extention and calculates color-blending values for color values of PropertySetting and AnimatedPropertySettings.
Inherited Members
Namespace: Telerik.WinControls.XmlSerialization
Assembly: Telerik.WinControls.dll
Syntax
public class ColorBlendExtension : XmlSerializerExtention, IValueProvider
Constructors
ColorBlendExtension()
Declaration
public ColorBlendExtension()
ColorBlendExtension(IPropertiesProvider, String, HslColor, Color, Color)
Declaration
public ColorBlendExtension(IPropertiesProvider parameterProvider, string parameterName, HslColor blendColor, Color currentColor, Color originalColor)
Parameters
IPropertiesProvider
parameterProvider
|
System.String
parameterName
|
HslColor
blendColor
|
System.Drawing.Color
currentColor
|
System.Drawing.Color
originalColor
|
Properties
OriginalColor
Gets the original Color value
Declaration
public Color OriginalColor { get; }
Property Value
System.Drawing.Color
|
ThemePropertyName
Gets value corresponding to the name of the ThemeParameter used for color blending calculations
Declaration
public string ThemePropertyName { get; }
Property Value
System.String
|
Methods
GetValue()
IValueProvider GetValue implementation
Declaration
public object GetValue()
Returns
System.Object
|
Implements
ProvideValue(IServiceProvider)
Declaration
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters
System.IServiceProvider
serviceProvider
|
Returns
System.Object
|