# GrapeCity.Documents.Word.Style

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Style" data-uid="GrapeCity.Documents.Word.Style" class="text-break">Style Class
</h1>
  <div class="markdown level0 summary"><p>Represents a built-in or user-defined style.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">Style</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_Style_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Style</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Style</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_Aliases" data-uid="GrapeCity.Documents.Word.Style.Aliases">
          <a class="xref" href="GrapeCity.Documents.Word.Style.Aliases.html#GrapeCity_Documents_Word_Style_Aliases">Aliases</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of alternative names for the style.
These names can be used in an application's user interface as desired.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_AutomaticallyUpdate" data-uid="GrapeCity.Documents.Word.Style.AutomaticallyUpdate">
          <a class="xref" href="GrapeCity.Documents.Word.Style.AutomaticallyUpdate.html#GrapeCity_Documents_Word_Style_AutomaticallyUpdate">AutomaticallyUpdate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether an application shall automatically modify this style
when the contents of an entire paragraph in the document with this style applied are modified,
ensuring that although only a single instance of text with this style was modified,
that change is stored on the style and therefore propagated to all locations where the style is in use.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_BaseStyle" data-uid="GrapeCity.Documents.Word.Style.BaseStyle">
          <a class="xref" href="GrapeCity.Documents.Word.Style.BaseStyle.html#GrapeCity_Documents_Word_Style_BaseStyle">BaseStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an existing style on which the formatting of this style is based.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_BuiltIn" data-uid="GrapeCity.Documents.Word.Style.BuiltIn">
          <a class="xref" href="GrapeCity.Documents.Word.Style.BuiltIn.html#GrapeCity_Documents_Word_Style_BuiltIn">BuiltIn</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this style is one of the built-in styles in Microsoft Word.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_BuiltInId" data-uid="GrapeCity.Documents.Word.Style.BuiltInId">
          <a class="xref" href="GrapeCity.Documents.Word.Style.BuiltInId.html#GrapeCity_Documents_Word_Style_BuiltInId">BuiltInId</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the locale independent style identifier for a built-in style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_Document" data-uid="GrapeCity.Documents.Word.Style.Document">
          <a class="xref" href="GrapeCity.Documents.Word.Style.Document.html#GrapeCity_Documents_Word_Style_Document">Document</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the parent document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_Font" data-uid="GrapeCity.Documents.Word.Style.Font">
          <a class="xref" href="GrapeCity.Documents.Word.Style.Font.html#GrapeCity_Documents_Word_Style_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the character formatting of this style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_InUse" data-uid="GrapeCity.Documents.Word.Style.InUse">
          <a class="xref" href="GrapeCity.Documents.Word.Style.InUse.html#GrapeCity_Documents_Word_Style_InUse">InUse</a>
        </td>
        <td class="markdown level1 summary"><p>Get a value indicating whether the built-in style has been modified or applied in the document or it is a new style that has been created in the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_LinkStyle" data-uid="GrapeCity.Documents.Word.Style.LinkStyle">
          <a class="xref" href="GrapeCity.Documents.Word.Style.LinkStyle.html#GrapeCity_Documents_Word_Style_LinkStyle">LinkStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style linked to the current style.</p>
<p>
Styles can be paired to comprise a linked style. 
</p>
<p>
A linked style is a grouping of a paragraph style and a character style 
that is used in a user interface to allow the same set of formatting properties to be applied.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_Linked" data-uid="GrapeCity.Documents.Word.Style.Linked">
          <a class="xref" href="GrapeCity.Documents.Word.Style.Linked.html#GrapeCity_Documents_Word_Style_Linked">Linked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether a style is a linked style that can be used for both paragraph and character formatting.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_ListFormat" data-uid="GrapeCity.Documents.Word.Style.ListFormat">
          <a class="xref" href="GrapeCity.Documents.Word.Style.ListFormat.html#GrapeCity_Documents_Word_Style_ListFormat">ListFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Get a list formatting for the paragraph style.</p>
<p>
This property is only valid for paragraph styles. 
For other style types this property returns null.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_ListTemplate" data-uid="GrapeCity.Documents.Word.Style.ListTemplate">
          <a class="xref" href="GrapeCity.Documents.Word.Style.ListTemplate.html#GrapeCity_Documents_Word_Style_ListTemplate">ListTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Word.Style.ListTemplate.html#GrapeCity_Documents_Word_Style_ListTemplate">ListTemplate</a> that defines list formatting for the list style.</p>
<p>
This property is only valid for list styles. 
For other style types this property returns null.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_Locked" data-uid="GrapeCity.Documents.Word.Style.Locked">
          <a class="xref" href="GrapeCity.Documents.Word.Style.Locked.html#GrapeCity_Documents_Word_Style_Locked">Locked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether an application shall prevent the use of this style when this document is loaded and/or modified.</p>
<p>
If true, this style can be used to format existing content (i.e. any content that references this style shall have its properties as normal), 
but new instances of the style shall be prevented from being applied via all mechanisms associated with that application.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_Name" data-uid="GrapeCity.Documents.Word.Style.Name">
          <a class="xref" href="GrapeCity.Documents.Word.Style.Name.html#GrapeCity_Documents_Word_Style_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_NextParagraphStyle" data-uid="GrapeCity.Documents.Word.Style.NextParagraphStyle">
          <a class="xref" href="GrapeCity.Documents.Word.Style.NextParagraphStyle.html#GrapeCity_Documents_Word_Style_NextParagraphStyle">NextParagraphStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style to be applied automatically to a new paragraph inserted after a paragraph formatted with the specified style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_ParagraphFormat" data-uid="GrapeCity.Documents.Word.Style.ParagraphFormat">
          <a class="xref" href="GrapeCity.Documents.Word.Style.ParagraphFormat.html#GrapeCity_Documents_Word_Style_ParagraphFormat">ParagraphFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the paragraph formatting of the style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_Priority" data-uid="GrapeCity.Documents.Word.Style.Priority">
          <a class="xref" href="GrapeCity.Documents.Word.Style.Priority.html#GrapeCity_Documents_Word_Style_Priority">Priority</a>
        </td>
        <td class="markdown level1 summary"><p>A number that can be used to sort the set of style definitions in a user interface.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_QuickStyle" data-uid="GrapeCity.Documents.Word.Style.QuickStyle">
          <a class="xref" href="GrapeCity.Documents.Word.Style.QuickStyle.html#GrapeCity_Documents_Word_Style_QuickStyle">QuickStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether this style shall be treated as a primary style when this document is loaded by an application.
If true then this style has been designated as being particularly important for the current document,
and this information can be used by an application in any means desired.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_RevisionId" data-uid="GrapeCity.Documents.Word.Style.RevisionId">
          <a class="xref" href="GrapeCity.Documents.Word.Style.RevisionId.html#GrapeCity_Documents_Word_Style_RevisionId">RevisionId</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets unique identifiers used to track style editing session.</p>
<p>
A producer can choose to increment the revision save ID value to indicate subsequent editing (editing between save actions) to indicate the order of the saves performed.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_Table" data-uid="GrapeCity.Documents.Word.Style.Table">
          <a class="xref" href="GrapeCity.Documents.Word.Style.Table.html#GrapeCity_Documents_Word_Style_Table">Table</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Documents.Word.TableStyle.html">TableStyle</a> object representing properties that can be applied to a table using a table style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_Type" data-uid="GrapeCity.Documents.Word.Style.Type">
          <a class="xref" href="GrapeCity.Documents.Word.Style.Type.html#GrapeCity_Documents_Word_Style_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_UnhideWhenUsed" data-uid="GrapeCity.Documents.Word.Style.UnhideWhenUsed">
          <a class="xref" href="GrapeCity.Documents.Word.Style.UnhideWhenUsed.html#GrapeCity_Documents_Word_Style_UnhideWhenUsed">UnhideWhenUsed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether <a class="xref" href="GrapeCity.Documents.Word.Style.Visibility.html#GrapeCity_Documents_Word_Style_Visibility">Visibility</a> shall be reset when this style is used by the content of the document.</p>
<p>
If true, an application shall ensure that even if the <a class="xref" href="GrapeCity.Documents.Word.Style.Visibility.html#GrapeCity_Documents_Word_Style_Visibility">Visibility</a> is <a class="xref" href="GrapeCity.Documents.Word.StyleVisibility.html#GrapeCity_Documents_Word_StyleVisibility_SemiHidden">SemiHidden</a> 
that this property should be considered as <a class="xref" href="GrapeCity.Documents.Word.StyleVisibility.html#GrapeCity_Documents_Word_StyleVisibility_Visible">Visible</a> if the style is referenced by any content in the document.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_Visibility" data-uid="GrapeCity.Documents.Word.Style.Visibility">
          <a class="xref" href="GrapeCity.Documents.Word.Style.Visibility.html#GrapeCity_Documents_Word_Style_Visibility">Visibility</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style visibility in application user interface.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_WordName" data-uid="GrapeCity.Documents.Word.Style.WordName">
          <a class="xref" href="GrapeCity.Documents.Word.Style.WordName.html#GrapeCity_Documents_Word_Style_WordName">WordName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the Word style English name.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_Style_Delete" data-uid="GrapeCity.Documents.Word.Style.Delete">
          <a class="xref" href="GrapeCity.Documents.Word.Style.Delete.html#GrapeCity_Documents_Word_Style_Delete">Delete()</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes the style from the document.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
