The Gradient class groups different properties related to gradients into one object.
Declaration Syntax
C# | Visual Basic |
public class Gradient
Public Class Gradient
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
Gradient()()()() |
Default constructor for the Gradient class.
| |
Gradient(Color, Color, LinearGradientMode) |
Constructor for the Gradient class.
| |
Color1 |
Defines the first color of the gradient.
| |
Color1Int |
Gets/sets the first color of the gradient using a 32-bit integer (ARGB).
This is used for serializing the Color structure in XML.
| |
Color2 |
Defines the second color of the gradient.
| |
Color2Int |
Gets/sets the second color of the gradient using a 32-bit integer (ARGB).
This is used for serializing the Color structure in XML.
| |
Equals(Object) | (Inherited from Object.) | |
Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
GradientMode |
Defines the gradient mode.
| |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString()()()() | (Inherited from Object.) |
Inheritance Hierarchy
Object | ||
Gradient | ||
BackgroundGradient |