# C1.Win.C1Chart.Style

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Chart_Style" data-uid="C1.Win.C1Chart.Style" class="text-break">Style Class
</h1>
  <div class="markdown level0 summary"><p>The Style class is used to describe the appearance of various elements of the chart,
including the chart itself, the ChartArea, the Legend, the Header, the Footer and Labels.
Typically, an object’s style and/or one or more of its properties are inherited the object’s
parent style or its default style.  All Style properties have an associated Reset Method
that restores the style property inheritance state.</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="C1.Win.C1Chart.html">C1.Win.C1Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Chart.4.8.dll</h6>
  <h5 id="C1_Win_C1Chart_Style_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(c1ChartTypeConverter))]
public class Style</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(c1ChartTypeConverter))&gt;
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="C1_Win_C1Chart_Style_Autowrap" data-uid="C1.Win.C1Chart.Style.Autowrap">
          <a class="xref" href="C1.Win.C1Chart.Style.Autowrap.html#C1_Win_C1Chart_Style_Autowrap">Autowrap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the text is automatically wrapped.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_BackColor" data-uid="C1.Win.C1Chart.Style.BackColor">
          <a class="xref" href="C1.Win.C1Chart.Style.BackColor.html#C1_Win_C1Chart_Style_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_BackColor2" data-uid="C1.Win.C1Chart.Style.BackColor2">
          <a class="xref" href="C1.Win.C1Chart.Style.BackColor2.html#C1_Win_C1Chart_Style_BackColor2">BackColor2</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the gradient or hatch background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_Border" data-uid="C1.Win.C1Chart.Style.Border">
          <a class="xref" href="C1.Win.C1Chart.Style.Border.html#C1_Win_C1Chart_Style_Border">Border</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the border object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_Font" data-uid="C1.Win.C1Chart.Style.Font">
          <a class="xref" href="C1.Win.C1Chart.Style.Font.html#C1_Win_C1Chart_Style_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ForeColor" data-uid="C1.Win.C1Chart.Style.ForeColor">
          <a class="xref" href="C1.Win.C1Chart.Style.ForeColor.html#C1_Win_C1Chart_Style_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the foreground color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_GradientStyle" data-uid="C1.Win.C1Chart.Style.GradientStyle">
          <a class="xref" href="C1.Win.C1Chart.Style.GradientStyle.html#C1_Win_C1Chart_Style_GradientStyle">GradientStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the style of the background gradient filling.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_HatchStyle" data-uid="C1.Win.C1Chart.Style.HatchStyle">
          <a class="xref" href="C1.Win.C1Chart.Style.HatchStyle.html#C1_Win_C1Chart_Style_HatchStyle">HatchStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the style of the background hatch filling.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_HorizontalAlignment" data-uid="C1.Win.C1Chart.Style.HorizontalAlignment">
          <a class="xref" href="C1.Win.C1Chart.Style.HorizontalAlignment.html#C1_Win_C1Chart_Style_HorizontalAlignment">HorizontalAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text horizontal alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ImageAlignment" data-uid="C1.Win.C1Chart.Style.ImageAlignment">
          <a class="xref" href="C1.Win.C1Chart.Style.ImageAlignment.html#C1_Win_C1Chart_Style_ImageAlignment">ImageAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the image alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_Opaque" data-uid="C1.Win.C1Chart.Style.Opaque">
          <a class="xref" href="C1.Win.C1Chart.Style.Opaque.html#C1_Win_C1Chart_Style_Opaque">Opaque</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the opaqueness of the background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_Rotation" data-uid="C1.Win.C1Chart.Style.Rotation">
          <a class="xref" href="C1.Win.C1Chart.Style.Rotation.html#C1_Win_C1Chart_Style_Rotation">Rotation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text orientation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_VerticalAlignment" data-uid="C1.Win.C1Chart.Style.VerticalAlignment">
          <a class="xref" href="C1.Win.C1Chart.Style.VerticalAlignment.html#C1_Win_C1Chart_Style_VerticalAlignment">VerticalAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text vertical alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_VerticalText" data-uid="C1.Win.C1Chart.Style.VerticalText">
          <a class="xref" href="C1.Win.C1Chart.Style.VerticalText.html#C1_Win_C1Chart_Style_VerticalText">VerticalText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether text is displayed vertically.</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="C1_Win_C1Chart_Style_ResetAutowrap" data-uid="C1.Win.C1Chart.Style.ResetAutowrap">
          <a class="xref" href="C1.Win.C1Chart.Style.ResetAutowrap.html#C1_Win_C1Chart_Style_ResetAutowrap">ResetAutowrap()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the inheritance state of the style Autowrap.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ResetBackColor" data-uid="C1.Win.C1Chart.Style.ResetBackColor">
          <a class="xref" href="C1.Win.C1Chart.Style.ResetBackColor.html#C1_Win_C1Chart_Style_ResetBackColor">ResetBackColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the inheritance state of the element backcolor.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ResetBorder" data-uid="C1.Win.C1Chart.Style.ResetBorder">
          <a class="xref" href="C1.Win.C1Chart.Style.ResetBorder.html#C1_Win_C1Chart_Style_ResetBorder">ResetBorder()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the inheritance state of the element border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ResetFont" data-uid="C1.Win.C1Chart.Style.ResetFont">
          <a class="xref" href="C1.Win.C1Chart.Style.ResetFont.html#C1_Win_C1Chart_Style_ResetFont">ResetFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the inheritance state of the element font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ResetForeColor" data-uid="C1.Win.C1Chart.Style.ResetForeColor">
          <a class="xref" href="C1.Win.C1Chart.Style.ResetForeColor.html#C1_Win_C1Chart_Style_ResetForeColor">ResetForeColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the inheritance state of the element forecolor.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ResetHorizontalAlignment" data-uid="C1.Win.C1Chart.Style.ResetHorizontalAlignment">
          <a class="xref" href="C1.Win.C1Chart.Style.ResetHorizontalAlignment.html#C1_Win_C1Chart_Style_ResetHorizontalAlignment">ResetHorizontalAlignment()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the inheritance state of the element text horizontal alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ResetImageAlignment" data-uid="C1.Win.C1Chart.Style.ResetImageAlignment">
          <a class="xref" href="C1.Win.C1Chart.Style.ResetImageAlignment.html#C1_Win_C1Chart_Style_ResetImageAlignment">ResetImageAlignment()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the inheritance state of the element image alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ResetOpaque" data-uid="C1.Win.C1Chart.Style.ResetOpaque">
          <a class="xref" href="C1.Win.C1Chart.Style.ResetOpaque.html#C1_Win_C1Chart_Style_ResetOpaque">ResetOpaque()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the inheritance state of the element opaque.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ResetRotation" data-uid="C1.Win.C1Chart.Style.ResetRotation">
          <a class="xref" href="C1.Win.C1Chart.Style.ResetRotation.html#C1_Win_C1Chart_Style_ResetRotation">ResetRotation()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the inheritance state of the element text rotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ResetVerticalAlignment" data-uid="C1.Win.C1Chart.Style.ResetVerticalAlignment">
          <a class="xref" href="C1.Win.C1Chart.Style.ResetVerticalAlignment.html#C1_Win_C1Chart_Style_ResetVerticalAlignment">ResetVerticalAlignment()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the inheritance state of the element text vertical alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ResetVerticalText" data-uid="C1.Win.C1Chart.Style.ResetVerticalText">
          <a class="xref" href="C1.Win.C1Chart.Style.ResetVerticalText.html#C1_Win_C1Chart_Style_ResetVerticalText">ResetVerticalText()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the inheritance state of the style VerticalText.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ShouldSerializeAutowrap" data-uid="C1.Win.C1Chart.Style.ShouldSerializeAutowrap">
          <a class="xref" href="C1.Win.C1Chart.Style.ShouldSerializeAutowrap.html#C1_Win_C1Chart_Style_ShouldSerializeAutowrap">ShouldSerializeAutowrap()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.Win.C1Chart.Style.Autowrap.html#C1_Win_C1Chart_Style_Autowrap">Autowrap</a> has a default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ShouldSerializeBackColor" data-uid="C1.Win.C1Chart.Style.ShouldSerializeBackColor">
          <a class="xref" href="C1.Win.C1Chart.Style.ShouldSerializeBackColor.html#C1_Win_C1Chart_Style_ShouldSerializeBackColor">ShouldSerializeBackColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.Win.C1Chart.Style.BackColor.html#C1_Win_C1Chart_Style_BackColor">BackColor</a> has a default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ShouldSerializeBackColor2" data-uid="C1.Win.C1Chart.Style.ShouldSerializeBackColor2">
          <a class="xref" href="C1.Win.C1Chart.Style.ShouldSerializeBackColor2.html#C1_Win_C1Chart_Style_ShouldSerializeBackColor2">ShouldSerializeBackColor2()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.Win.C1Chart.Style.BackColor2.html#C1_Win_C1Chart_Style_BackColor2">BackColor2</a> has a default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ShouldSerializeBorder" data-uid="C1.Win.C1Chart.Style.ShouldSerializeBorder">
          <a class="xref" href="C1.Win.C1Chart.Style.ShouldSerializeBorder.html#C1_Win_C1Chart_Style_ShouldSerializeBorder">ShouldSerializeBorder()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.Win.C1Chart.Style.Border.html#C1_Win_C1Chart_Style_Border">Border</a> has a default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ShouldSerializeFont" data-uid="C1.Win.C1Chart.Style.ShouldSerializeFont">
          <a class="xref" href="C1.Win.C1Chart.Style.ShouldSerializeFont.html#C1_Win_C1Chart_Style_ShouldSerializeFont">ShouldSerializeFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.Win.C1Chart.Style.Font.html#C1_Win_C1Chart_Style_Font">Font</a> has a default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ShouldSerializeForeColor" data-uid="C1.Win.C1Chart.Style.ShouldSerializeForeColor">
          <a class="xref" href="C1.Win.C1Chart.Style.ShouldSerializeForeColor.html#C1_Win_C1Chart_Style_ShouldSerializeForeColor">ShouldSerializeForeColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns false if the Style <a class="xref" href="C1.Win.C1Chart.Style.ForeColor.html#C1_Win_C1Chart_Style_ForeColor">ForeColor</a> property is in the default state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ShouldSerializeHorizontalAlignment" data-uid="C1.Win.C1Chart.Style.ShouldSerializeHorizontalAlignment">
          <a class="xref" href="C1.Win.C1Chart.Style.ShouldSerializeHorizontalAlignment.html#C1_Win_C1Chart_Style_ShouldSerializeHorizontalAlignment">ShouldSerializeHorizontalAlignment()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.Win.C1Chart.Style.HorizontalAlignment.html#C1_Win_C1Chart_Style_HorizontalAlignment">HorizontalAlignment</a> has a default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ShouldSerializeImageAlignment" data-uid="C1.Win.C1Chart.Style.ShouldSerializeImageAlignment">
          <a class="xref" href="C1.Win.C1Chart.Style.ShouldSerializeImageAlignment.html#C1_Win_C1Chart_Style_ShouldSerializeImageAlignment">ShouldSerializeImageAlignment()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.Win.C1Chart.Style.ImageAlignment.html#C1_Win_C1Chart_Style_ImageAlignment">ImageAlignment</a> has a default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ShouldSerializeOpaque" data-uid="C1.Win.C1Chart.Style.ShouldSerializeOpaque">
          <a class="xref" href="C1.Win.C1Chart.Style.ShouldSerializeOpaque.html#C1_Win_C1Chart_Style_ShouldSerializeOpaque">ShouldSerializeOpaque()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns false if the Style <a class="xref" href="C1.Win.C1Chart.Style.Opaque.html#C1_Win_C1Chart_Style_Opaque">Opaque</a> property is in the default state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ShouldSerializeRotation" data-uid="C1.Win.C1Chart.Style.ShouldSerializeRotation">
          <a class="xref" href="C1.Win.C1Chart.Style.ShouldSerializeRotation.html#C1_Win_C1Chart_Style_ShouldSerializeRotation">ShouldSerializeRotation()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns false if the Style <a class="xref" href="C1.Win.C1Chart.Style.Rotation.html#C1_Win_C1Chart_Style_Rotation">Rotation</a> property is in the default state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ShouldSerializeVerticalAlignment" data-uid="C1.Win.C1Chart.Style.ShouldSerializeVerticalAlignment">
          <a class="xref" href="C1.Win.C1Chart.Style.ShouldSerializeVerticalAlignment.html#C1_Win_C1Chart_Style_ShouldSerializeVerticalAlignment">ShouldSerializeVerticalAlignment()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns false if the Style <a class="xref" href="C1.Win.C1Chart.Style.VerticalAlignment.html#C1_Win_C1Chart_Style_VerticalAlignment">VerticalAlignment</a> property is in the default state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Style_ShouldSerializeVerticalText" data-uid="C1.Win.C1Chart.Style.ShouldSerializeVerticalText">
          <a class="xref" href="C1.Win.C1Chart.Style.ShouldSerializeVerticalText.html#C1_Win_C1Chart_Style_ShouldSerializeVerticalText">ShouldSerializeVerticalText()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns false if the Style <a class="xref" href="C1.Win.C1Chart.Style.VerticalText.html#C1_Win_C1Chart_Style_VerticalText">VerticalText</a> property is in the default state.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
