GradientStop Class

Gradient Stop.When the object is serialized out as xml, its qualified name is x:stop.

Inheritance Hierarchy


Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)


<ChildElementInfoAttribute(GetType(Color))> _
Public Class GradientStop _
    Inherits OpenXmlCompositeElement
Dim instance As GradientStop
public class GradientStop : OpenXmlCompositeElement


The following table lists the possible child types:

  • Color <x:color>

[ISO/IEC 29500-1 1st Edition]

18.8.38 stop (Gradient Stop)

One of a sequence of two or more gradient stops, constituting this gradient fill.

Parent Elements

gradientFill (§18.8.24)

Child Elements


color (Data Bar Color)




position (Gradient Stop Position)

Position information for this gradient stop. Interpreted exactly like gradientFill left, right, bottom, top. The position indicated here indicates the point where the color is pure. Before and and after this position the color can be in transition (or pure, depending on if this is the last stop or not).

The possible values for this attribute are defined by the W3C XML Schema double datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_GradientStop) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


GradientStop Members

DocumentFormat.OpenXml.Spreadsheet Namespace