Skip to main content

ColorStop Members

Describes the location and color of a transition point in a gradient.

Constructors

Name Description
ColorStop() Initializes a new instance of the ColorStop class with the default settings.
ColorStop(Unit) Initializes a new instance of the ColorStop class with the specified offset.
ColorStop(Double) Initializes a new instance of the ColorStop class with the specified offset.
ColorStop(Color, Unit) Initializes a new instance of the ColorStop class with the specified color and offset.
ColorStop(Color, Double) Initializes a new instance of the ColorStop class with the specified color and offset.
ColorStop(Color) Initializes a new instance of the ColorStop class with the specified color.

Fields

Name Description
ColorProperty static Identifies the ColorStop.Color dependency property.
OffsetProperty static Identifies the ColorStop.Offset dependency property.

Properties

Name Description
Color Gets or sets the color stop color.
Offset Gets or sets the color stop offset.
See Also