StyleHidden Class

Hide Style From User Interface.When the object is serialized out as xml, its qualified name is w:hidden.

Inheritance Hierarchy


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


Public Class StyleHidden _
    Inherits OnOffOnlyType
Dim instance As StyleHidden
public class StyleHidden : OnOffOnlyType


[ISO/IEC 29500-1 1st Edition] hidden (Hide Style From User Interface)

This element specifies whether this style shall be hidden from any and all user interfaces when this document is loaded by an application. If this element is set, then this style can be used to format content (i.e. any content which references this style shall have its properties as normal), but the style shall be hidden from all user interface associated with that application. [Note: This setting is typically used to hide styles which are being used internally by an application which should not be used as formatting in a typical case. end note]

If this element is omitted, then the style shall not be required to be hidden from the user interface.

[Example: Consider a style with a primary name of InternalStyle that should not be displayed in any user interface. This requirement would be specified using the following WordprocessingML:

<w:style … w:styleId="Style2">
<w:name w:val="InternalStyle"/>

The hidden element specifies that this style definition shall be round-tripped with the file (since it is part of the document) but should not be displayed in any user interface associated with an application which processes this document. end example]

Parent Elements

style (§

This element’s content model is defined by the common boolean property definition in §17.17.4.

© 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


StyleHidden Members

DocumentFormat.OpenXml.Wordprocessing Namespace