UnderlineFill class

Office 2013 and later

Underline Fill. When the object is serialized out as xml, its qualified name is a:uFill.

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

public class UnderlineFill : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

uFill (Underline Fill)

This element specifies the fill color of an underline for a run of text.

[Example: Consider the DrawingML shown below.

  …  <a:p>
      <a:rPr …>
            <a:srgbClr val="FFFF00"/>
      …      <a:t>
Sample Text</a:t>
      …    </a:r>

The underline color of the above text is yellow specified by the srgbClr child element. end example]

Parent Elements

defRPr (§; endParaRPr (§; rPr (§

Child Elements


blipFill (Picture Fill)


gradFill (Gradient Fill)


grpFill (Group Fill)


noFill (No Fill)


pattFill (Pattern Fill)


solidFill (Solid Fill)


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

© ISO/IEC29500: 2008.

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