Share via


GradientStop Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.GradientStop

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Color))> _
Public Class GradientStop _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As GradientStop
[ChildElementInfoAttribute(typeof(Color))]
public class GradientStop : OpenXmlCompositeElement

Remarks

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

Subclause

color (Data Bar Color)

§18.3.1.15

Attributes

Description

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

Reference

GradientStop Members

DocumentFormat.OpenXml.Spreadsheet Namespace