# C1.Win.TreeView.TreeViewStyles

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_TreeView_TreeViewStyles" data-uid="C1.Win.TreeView.TreeViewStyles" class="text-break">TreeViewStyles Class
</h1>
  <div class="markdown level0 summary"><p>Represents the styles of treeview.</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"><a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.html">TreeNodeCellStyles</a></div>
    <div class="level2"><a class="xref" href="C1.Win.TreeView.TreeColumnStyles.html">TreeColumnStyles</a></div>
    <div class="level3"><span class="xref">TreeViewStyles</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.TreeView.html">C1.Win.TreeView</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.TreeView.10.dll</h6>
  <h5 id="C1_Win_TreeView_TreeViewStyles_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ExpandableObjectConverter))]
public class TreeViewStyles : TreeColumnStyles, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ExpandableObjectConverter))&gt;
Public Class TreeViewStyles
    Inherits TreeColumnStyles
    Implements INotifyPropertyChanged</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="C1_Win_TreeView_TreeViewStyles__ctor" data-uid="C1.Win.TreeView.TreeViewStyles.#ctor">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.-ctor.html#C1_Win_TreeView_TreeViewStyles__ctor">TreeViewStyles()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the treeview's styles.</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="C1_Win_TreeView_TreeViewStyles_Border" data-uid="C1.Win.TreeView.TreeViewStyles.Border">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.Border.html#C1_Win_TreeView_TreeViewStyles_Border">Border</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets thickness of border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_BorderColor" data-uid="C1.Win.TreeView.TreeViewStyles.BorderColor">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.BorderColor.html#C1_Win_TreeView_TreeViewStyles_BorderColor">BorderColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets color of border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_BorderStyle" data-uid="C1.Win.TreeView.TreeViewStyles.BorderStyle">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.BorderStyle.html#C1_Win_TreeView_TreeViewStyles_BorderStyle">BorderStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets style of border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_CheckBoxColor" data-uid="C1.Win.TreeView.TreeViewStyles.CheckBoxColor">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.CheckBoxColor.html#C1_Win_TreeView_TreeViewStyles_CheckBoxColor">CheckBoxColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the checkbox color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_CheckBoxStyle" data-uid="C1.Win.TreeView.TreeViewStyles.CheckBoxStyle">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.CheckBoxStyle.html#C1_Win_TreeView_TreeViewStyles_CheckBoxStyle">CheckBoxStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets style of checkboxes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_Corners" data-uid="C1.Win.TreeView.TreeViewStyles.Corners">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.Corners.html#C1_Win_TreeView_TreeViewStyles_Corners">Corners</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the corners of tree nodes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_DropLineColor" data-uid="C1.Win.TreeView.TreeViewStyles.DropLineColor">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.DropLineColor.html#C1_Win_TreeView_TreeViewStyles_DropLineColor">DropLineColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of drop line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_ExpandButtonStyle" data-uid="C1.Win.TreeView.TreeViewStyles.ExpandButtonStyle">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.ExpandButtonStyle.html#C1_Win_TreeView_TreeViewStyles_ExpandButtonStyle">ExpandButtonStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets style of expand buttons.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_FocusBorderColor" data-uid="C1.Win.TreeView.TreeViewStyles.FocusBorderColor">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.FocusBorderColor.html#C1_Win_TreeView_TreeViewStyles_FocusBorderColor">FocusBorderColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the focus rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_LinesColor" data-uid="C1.Win.TreeView.TreeViewStyles.LinesColor">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.LinesColor.html#C1_Win_TreeView_TreeViewStyles_LinesColor">LinesColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of lines.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_LinesStyle" data-uid="C1.Win.TreeView.TreeViewStyles.LinesStyle">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.LinesStyle.html#C1_Win_TreeView_TreeViewStyles_LinesStyle">LinesStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of dashed lines.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_LinesWidth" data-uid="C1.Win.TreeView.TreeViewStyles.LinesWidth">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.LinesWidth.html#C1_Win_TreeView_TreeViewStyles_LinesWidth">LinesWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of lines.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_ShowFocusBorder" data-uid="C1.Win.TreeView.TreeViewStyles.ShowFocusBorder">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.ShowFocusBorder.html#C1_Win_TreeView_TreeViewStyles_ShowFocusBorder">ShowFocusBorder</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value indicating whether a control should show the focus rectangle or not.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_ShowLines" data-uid="C1.Win.TreeView.TreeViewStyles.ShowLines">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.ShowLines.html#C1_Win_TreeView_TreeViewStyles_ShowLines">ShowLines</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating displays lines or not.</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_TreeView_TreeViewStyles_ResetCheckBoxColor" data-uid="C1.Win.TreeView.TreeViewStyles.ResetCheckBoxColor">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.ResetCheckBoxColor.html#C1_Win_TreeView_TreeViewStyles_ResetCheckBoxColor">ResetCheckBoxColor()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_ResetStyles" data-uid="C1.Win.TreeView.TreeViewStyles.ResetStyles">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.ResetStyles.html#C1_Win_TreeView_TreeViewStyles_ResetStyles">ResetStyles()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets this styles to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_ShouldSerialize" data-uid="C1.Win.TreeView.TreeViewStyles.ShouldSerialize">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.ShouldSerialize.html#C1_Win_TreeView_TreeViewStyles_ShouldSerialize">ShouldSerialize()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if this styles have changed; otherwise, returns false.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_ShouldSerializeCheckBoxColor" data-uid="C1.Win.TreeView.TreeViewStyles.ShouldSerializeCheckBoxColor">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.ShouldSerializeCheckBoxColor.html#C1_Win_TreeView_TreeViewStyles_ShouldSerializeCheckBoxColor">ShouldSerializeCheckBoxColor()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeViewStyles_ToString" data-uid="C1.Win.TreeView.TreeViewStyles.ToString">
          <a class="xref" href="C1.Win.TreeView.TreeViewStyles.ToString.html#C1_Win_TreeView_TreeViewStyles_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string that represents the current TreeViewStyles.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
