[]
Represents a gradient of two colors.
public class TwoColorGradient : GradientColors
| 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. |
| Name | Description |
|---|---|
| Default | Represents the TwoColorGradient with the transparent colors. |
| 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. |
| 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) |