[]
        
(Showing Draft Content)

C1.Win.Themes.TwoColorGradient

TwoColorGradient Class

Represents a gradient of two colors.

Inheritance
TwoColorGradient
Namespace: C1.Win.Themes
Assembly: C1.Win.Themes.8.dll
Syntax
public class TwoColorGradient : GradientColors

Constructors

Name Description
TwoColorGradient()

Initializes a new instance of the TwoColorGradient class.

TwoColorGradient(ThemeColorValue, ThemeColorValue, ThemeBlendValue)

Initializes a new instance of the TwoColorGradient class.

TwoColorGradient(Color, Color)

Initializes a new instance of the TwoColorGradient class.

TwoColorGradient(Color, Color, ThemeBlend)

Initializes a new instance of the TwoColorGradient class.

Fields

Name Description
Default

Represents the TwoColorGradient with the transparent colors.

Properties

Name Description
Blend

Gets the blend object of the gradient colors.

Color1

Gets the first gradient color.

Color2

Gets the second gradient color.

GradientType

Gets background type for this gradient.

Valid

Gets whether the gradient colors is valid.

Methods

Name Description
ContainsReference(ThemeItem)

For internal use.

Convert(ThemeBackgroundType)

Converts the gradient colors to the type suitable for specified ThemeBackgroundType.

Equals(object)
GetDefSolidColor()

Returns color that can be used instead of gradient colors.

GetHashCode()
GetReferences(List<ThemeItem>)

For internal use.

IsStateEqual(object)

For internal use.

ReplaceReference(ThemeItem, ThemeItem)

For internal use.

SerializeReadProp(Serializer, string, Type, string)
SerializeReset()
SerializeWrite(Serializer)