DefaultTextStyle Class

Presentation Default Text Style.When the object is serialized out as xml, its qualified name is p:defaultTextStyle.

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

public class DefaultTextStyle : TextListStyleType

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.DefaultParagraphProperties <a:defPPr>

  • DocumentFormat.OpenXml.Drawing.Level1ParagraphProperties <a:lvl1pPr>

  • DocumentFormat.OpenXml.Drawing.Level2ParagraphProperties <a:lvl2pPr>

  • DocumentFormat.OpenXml.Drawing.Level3ParagraphProperties <a:lvl3pPr>

  • DocumentFormat.OpenXml.Drawing.Level4ParagraphProperties <a:lvl4pPr>

  • DocumentFormat.OpenXml.Drawing.Level5ParagraphProperties <a:lvl5pPr>

  • DocumentFormat.OpenXml.Drawing.Level6ParagraphProperties <a:lvl6pPr>

  • DocumentFormat.OpenXml.Drawing.Level7ParagraphProperties <a:lvl7pPr>

  • DocumentFormat.OpenXml.Drawing.Level8ParagraphProperties <a:lvl8pPr>

  • DocumentFormat.OpenXml.Drawing.Level9ParagraphProperties <a:lvl9pPr>

  • DocumentFormat.OpenXml.Drawing.ExtensionList <a:extLst>

[ISO/IEC 29500-1 1st Edition] defaultTextStyle (Presentation Default Text Style)

This element specifies the default text styles that are to be used within the presentation. The text style defined here can be referenced when inserting a new slide if that slide is not associated with a master slide or if no styling information has been otherwise specified for the text within the presentation slide.

Parent Elements

presentation (§

Child Elements


defPPr (Default Paragraph Style)


extLst (Extension List)


lvl1pPr (List Level 1 Text Style)


lvl2pPr (List Level 2 Text Style)


lvl3pPr (List Level 3 Text Style)


lvl4pPr (List Level 4 Text Style)


lvl5pPr (List Level 5 Text Style)


lvl6pPr (List Level 6 Text Style)


lvl7pPr (List Level 7 Text Style)


lvl8pPr (List Level 8 Text Style)


lvl9pPr (List Level 9 Text Style)


[Note: The W3C XML Schema definition of this element’s content model (CT_TextListStyle) 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.