The TextGradient class adds font properties to the Gradient class.
Declaration Syntax
C# | Visual Basic |
public class TextGradient : BackgroundGradient
Public Class TextGradient _ Inherits BackgroundGradient
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
TextGradient()()()() |
Default constructor for the Gradient class.
| |
TextGradient(Color, Color, LinearGradientMode, Color, Int32, CustomFont) |
Constructor for the Gradient class.
| |
BorderColor |
Defines the border color.
(Inherited from BackgroundGradient.) | |
BorderColorInt |
Gets/sets the border color using a 32-bit integer (ARGB).
This is used for serializing the Color structure in XML.
(Inherited from BackgroundGradient.) | |
BorderWidth |
Defines the border width (in pixels). To hide the border, enter 0.
(Inherited from BackgroundGradient.) | |
Color1 |
Defines the first color of the gradient.
(Inherited from 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.
(Inherited from Gradient.) | |
Color2 |
Defines the second color of the gradient.
(Inherited from 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.
(Inherited from Gradient.) | |
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.) | |
Font |
Defines the font used for text rendering.
| |
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.
(Inherited from Gradient.) | |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Padding |
Defines the padding size (space between borders and text).
| |
ToString()()()() | (Inherited from Object.) |
Inheritance Hierarchy
Object | |||
Gradient | |||
BackgroundGradient | |||
TextGradient |