The Gradient type exposes the following members.

Constructors

  NameDescription
Gradient
Creates and initializes instance of Gradient object.

Methods

  NameDescription
Equals (Inherited from Object.)
Finalize (Inherited from Object.)
GetHashCode (Inherited from Object.)
GetType (Inherited from Object.)
MemberwiseClone (Inherited from Object.)
ToString
Returns a string that represents the current object.
(Overrides Object..::.ToString()()().)

Properties

  NameDescription
Angle
Gets and sets agngle of gradient (clockwize from 9 hours).
Color1
Gets and sets first (from) color of gradient.
Color2
Gets and sets second (to) color of gradient.
DefaultPaint
Enables and disables default control paing (i.e. frame around of GroupBox).
Enabled
Enables and disables gradient.
Round
Gets and sets round values for the gradient area corners.
SmoothingMode
Gets or sets the rendering quality for gradient rounds.

See Also