# FarPoint.Win.Spread.GridLine

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_GridLine" data-uid="FarPoint.Win.Spread.GridLine" class="text-break">GridLine Class
</h1>
  <div class="markdown level0 summary"><p>Represents the grid lines.</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">GridLine</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_GridLine_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(_wj))]
public class GridLine : ISerializable, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(_wj))&gt;
Public Class GridLine
    Implements ISerializable, ISerializeSupport</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_GridLine__ctor" data-uid="FarPoint.Win.Spread.GridLine.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.-ctor.html#FarPoint_Win_Spread_GridLine__ctor">GridLine()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new grid line.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GridLine__ctor_FarPoint_Win_Spread_GridLineType_" data-uid="FarPoint.Win.Spread.GridLine.#ctor(FarPoint.Win.Spread.GridLineType)">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.-ctor.html#FarPoint_Win_Spread_GridLine__ctor_FarPoint_Win_Spread_GridLineType_">GridLine(GridLineType)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new grid line of the specified line type.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GridLine__ctor_FarPoint_Win_Spread_GridLineType_System_Drawing_Color_" data-uid="FarPoint.Win.Spread.GridLine.#ctor(FarPoint.Win.Spread.GridLineType,System.Drawing.Color)">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.-ctor.html#FarPoint_Win_Spread_GridLine__ctor_FarPoint_Win_Spread_GridLineType_System_Drawing_Color_">GridLine(GridLineType, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new grid line of the specified line type and color.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GridLine__ctor_FarPoint_Win_Spread_GridLineType_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_" data-uid="FarPoint.Win.Spread.GridLine.#ctor(FarPoint.Win.Spread.GridLineType,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color)">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.-ctor.html#FarPoint_Win_Spread_GridLine__ctor_FarPoint_Win_Spread_GridLineType_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_">GridLine(GridLineType, Color, Color, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new grid line of the specified line type and colors.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GridLine__ctor_FarPoint_Win_Spread_GridLineType_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Int32_" data-uid="FarPoint.Win.Spread.GridLine.#ctor(FarPoint.Win.Spread.GridLineType,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.-ctor.html#FarPoint_Win_Spread_GridLine__ctor_FarPoint_Win_Spread_GridLineType_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Int32_">GridLine(GridLineType, Color, Color, Color, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new grid line of the specified line type, colors, and width.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GridLine__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.GridLine.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.-ctor.html#FarPoint_Win_Spread_GridLine__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GridLine(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the grid lines.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="FarPoint_Win_Spread_GridLine_Color" data-uid="FarPoint.Win.Spread.GridLine.Color">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.Color.html#FarPoint_Win_Spread_GridLine_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the color of the grid lines.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GridLine_HighlightColor" data-uid="FarPoint.Win.Spread.GridLine.HighlightColor">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.HighlightColor.html#FarPoint_Win_Spread_GridLine_HighlightColor">HighlightColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the highlight color for the grid lines.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GridLine_ShadowColor" data-uid="FarPoint.Win.Spread.GridLine.ShadowColor">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.ShadowColor.html#FarPoint_Win_Spread_GridLine_ShadowColor">ShadowColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the shadow color for the grid lines.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GridLine_Type" data-uid="FarPoint.Win.Spread.GridLine.Type">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.Type.html#FarPoint_Win_Spread_GridLine_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether to display the grid lines and the type of grid lines to display.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GridLine_Width" data-uid="FarPoint.Win.Spread.GridLine.Width">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.Width.html#FarPoint_Win_Spread_GridLine_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the width of the grid lines.</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="FarPoint_Win_Spread_GridLine_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.GridLine.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.Deserialize.html#FarPoint_Win_Spread_GridLine_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GridLine_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.GridLine.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.GetObjectData.html#FarPoint_Win_Spread_GridLine_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Populates the SerializationInfo class with information about
the <a class="xref" href="FarPoint.Win.Spread.GridLine.html">GridLine</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GridLine_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.GridLine.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.Serialize.html#FarPoint_Win_Spread_GridLine_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GridLine_ShouldSerializeWidth" data-uid="FarPoint.Win.Spread.GridLine.ShouldSerializeWidth">
          <a class="xref" href="FarPoint.Win.Spread.GridLine.ShouldSerializeWidth.html#FarPoint_Win_Spread_GridLine_ShouldSerializeWidth">ShouldSerializeWidth()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the Width property should be serialized.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
