[]
        
(Showing Draft Content)

C1.Win.C1Themes.ThemeGradientBackground

ThemeGradientBackground Class

Represents the theme background with a gradient.

Inheritance
ThemeGradientBackground
Namespace: C1.Win.C1Themes
Assembly: C1.Win.C1Themes.4.8.dll
Syntax
public class ThemeGradientBackground : ThemeBackground

Constructors

Name Description
ThemeGradientBackground()

Initializes a new instance of the ThemeGradientBackground class.

ThemeGradientBackground(ThemeColorValue, GradientColors, GradientModeBase)

Initializes a new instance of the ThemeGradientBackground class.

ThemeGradientBackground(Color, GradientColors, GradientModeBase)

Initializes a new instance of the ThemeGradientBackground class.

Properties

Name Description
BackgroundType

Gets background type.

Colors

Gets background gradient colors.

Mode

Gets background gradient mode.

SolidColor

Returns color that can be used instead of background.

Valid

Gets whether the background is valid.

Methods

Name Description
ContainsReference(ThemeItem)

For internal use.

Equals(object)
GetBrush()

Returns the brush for this background.

GetDefSolidColor()

Returns color that can be used instead of gradient colors.

GetHashCode()
GetReferences(List<ThemeItem>)

For internal use.

GetSolidColor()

Returns Color that can be used instead of background when element does not support special background.

IsStateEqual(object)

For internal use.

ReplaceReference(ThemeItem, ThemeItem)

For internal use.

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