# C1.Win.TreeView.TreeNodeCellStyles

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_TreeView_TreeNodeCellStyles" data-uid="C1.Win.TreeView.TreeNodeCellStyles" class="text-break">TreeNodeCellStyles Class
</h1>
  <div class="markdown level0 summary"><p>Defines styles of cell of <a class="xref" href="C1.Win.TreeView.C1TreeNode.html">C1TreeNode</a>.</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">TreeNodeCellStyles</span></div>
      <div class="level2"><a class="xref" href="C1.Win.TreeView.TreeColumnStyles.html">TreeColumnStyles</a></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_TreeNodeCellStyles_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TreeNodeCellStyles : INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TreeNodeCellStyles
    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_TreeNodeCellStyles__ctor" data-uid="C1.Win.TreeView.TreeNodeCellStyles.#ctor">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.-ctor.html#C1_Win_TreeView_TreeNodeCellStyles__ctor">TreeNodeCellStyles()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.html">TreeNodeCellStyles</a> class.</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_TreeNodeCellStyles_Default" data-uid="C1.Win.TreeView.TreeNodeCellStyles.Default">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.Default.html#C1_Win_TreeView_TreeNodeCellStyles_Default">Default</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the default styles.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_Disabled" data-uid="C1.Win.TreeView.TreeNodeCellStyles.Disabled">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.Disabled.html#C1_Win_TreeView_TreeNodeCellStyles_Disabled">Disabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the disabled styles.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_Editor" data-uid="C1.Win.TreeView.TreeNodeCellStyles.Editor">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.Editor.html#C1_Win_TreeView_TreeNodeCellStyles_Editor">Editor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the editor styles.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_Font" data-uid="C1.Win.TreeView.TreeNodeCellStyles.Font">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.Font.html#C1_Win_TreeView_TreeNodeCellStyles_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_HorizontalAlign" data-uid="C1.Win.TreeView.TreeNodeCellStyles.HorizontalAlign">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.HorizontalAlign.html#C1_Win_TreeView_TreeNodeCellStyles_HorizontalAlign">HorizontalAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_Hot" data-uid="C1.Win.TreeView.TreeNodeCellStyles.Hot">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.Hot.html#C1_Win_TreeView_TreeNodeCellStyles_Hot">Hot</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the hot styles.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_HotSelected" data-uid="C1.Win.TreeView.TreeNodeCellStyles.HotSelected">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.HotSelected.html#C1_Win_TreeView_TreeNodeCellStyles_HotSelected">HotSelected</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the hot selected styles.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_Margins" data-uid="C1.Win.TreeView.TreeNodeCellStyles.Margins">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.Margins.html#C1_Win_TreeView_TreeNodeCellStyles_Margins">Margins</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of the margins around the node cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_Padding" data-uid="C1.Win.TreeView.TreeNodeCellStyles.Padding">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.Padding.html#C1_Win_TreeView_TreeNodeCellStyles_Padding">Padding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of the padding between the node cell edges and its content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_Selected" data-uid="C1.Win.TreeView.TreeNodeCellStyles.Selected">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.Selected.html#C1_Win_TreeView_TreeNodeCellStyles_Selected">Selected</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the selected styles.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_UnfocusedSelected" data-uid="C1.Win.TreeView.TreeNodeCellStyles.UnfocusedSelected">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.UnfocusedSelected.html#C1_Win_TreeView_TreeNodeCellStyles_UnfocusedSelected">UnfocusedSelected</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the unfocused selected styles.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_VerticalAlign" data-uid="C1.Win.TreeView.TreeNodeCellStyles.VerticalAlign">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.VerticalAlign.html#C1_Win_TreeView_TreeNodeCellStyles_VerticalAlign">VerticalAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_WordWrap" data-uid="C1.Win.TreeView.TreeNodeCellStyles.WordWrap">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.WordWrap.html#C1_Win_TreeView_TreeNodeCellStyles_WordWrap">WordWrap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether text should be allowed to wrap.</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_TreeNodeCellStyles_OnPropertyChanged_System_String_" data-uid="C1.Win.TreeView.TreeNodeCellStyles.OnPropertyChanged(System.String)">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.OnPropertyChanged.html#C1_Win_TreeView_TreeNodeCellStyles_OnPropertyChanged_System_String_">OnPropertyChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Fires the PropertyChanged event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_ResetFont" data-uid="C1.Win.TreeView.TreeNodeCellStyles.ResetFont">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.ResetFont.html#C1_Win_TreeView_TreeNodeCellStyles_ResetFont">ResetFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the Font property to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_ResetHorizontalAlign" data-uid="C1.Win.TreeView.TreeNodeCellStyles.ResetHorizontalAlign">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.ResetHorizontalAlign.html#C1_Win_TreeView_TreeNodeCellStyles_ResetHorizontalAlign">ResetHorizontalAlign()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the HorizontalAlign property to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_ResetMargins" data-uid="C1.Win.TreeView.TreeNodeCellStyles.ResetMargins">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.ResetMargins.html#C1_Win_TreeView_TreeNodeCellStyles_ResetMargins">ResetMargins()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.Margins.html#C1_Win_TreeView_TreeNodeCellStyles_Margins">Margins</a> property to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_ResetPadding" data-uid="C1.Win.TreeView.TreeNodeCellStyles.ResetPadding">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.ResetPadding.html#C1_Win_TreeView_TreeNodeCellStyles_ResetPadding">ResetPadding()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.Padding.html#C1_Win_TreeView_TreeNodeCellStyles_Padding">Padding</a> property to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_ResetStyles" data-uid="C1.Win.TreeView.TreeNodeCellStyles.ResetStyles">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.ResetStyles.html#C1_Win_TreeView_TreeNodeCellStyles_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_TreeNodeCellStyles_ResetVerticalAlign" data-uid="C1.Win.TreeView.TreeNodeCellStyles.ResetVerticalAlign">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.ResetVerticalAlign.html#C1_Win_TreeView_TreeNodeCellStyles_ResetVerticalAlign">ResetVerticalAlign()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the VerticalAlign property to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_ResetWordWrap" data-uid="C1.Win.TreeView.TreeNodeCellStyles.ResetWordWrap">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.ResetWordWrap.html#C1_Win_TreeView_TreeNodeCellStyles_ResetWordWrap">ResetWordWrap()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the WordWrap property to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_ShouldSerialize" data-uid="C1.Win.TreeView.TreeNodeCellStyles.ShouldSerialize">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.ShouldSerialize.html#C1_Win_TreeView_TreeNodeCellStyles_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_TreeNodeCellStyles_ShouldSerializeFont" data-uid="C1.Win.TreeView.TreeNodeCellStyles.ShouldSerializeFont">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.ShouldSerializeFont.html#C1_Win_TreeView_TreeNodeCellStyles_ShouldSerializeFont">ShouldSerializeFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if the Font has changed; otherwise, returns false.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_ShouldSerializeHorizontalAlign" data-uid="C1.Win.TreeView.TreeNodeCellStyles.ShouldSerializeHorizontalAlign">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.ShouldSerializeHorizontalAlign.html#C1_Win_TreeView_TreeNodeCellStyles_ShouldSerializeHorizontalAlign">ShouldSerializeHorizontalAlign()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if the HorizontalAlign has changed; otherwise, returns false.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_ShouldSerializeMargins" data-uid="C1.Win.TreeView.TreeNodeCellStyles.ShouldSerializeMargins">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.ShouldSerializeMargins.html#C1_Win_TreeView_TreeNodeCellStyles_ShouldSerializeMargins">ShouldSerializeMargins()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if the <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.Margins.html#C1_Win_TreeView_TreeNodeCellStyles_Margins">Margins</a> has changed; otherwise, returns false.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_ShouldSerializePadding" data-uid="C1.Win.TreeView.TreeNodeCellStyles.ShouldSerializePadding">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.ShouldSerializePadding.html#C1_Win_TreeView_TreeNodeCellStyles_ShouldSerializePadding">ShouldSerializePadding()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if the <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.Padding.html#C1_Win_TreeView_TreeNodeCellStyles_Padding">Padding</a> has changed; otherwise, returns false.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_ShouldSerializeVerticalAlign" data-uid="C1.Win.TreeView.TreeNodeCellStyles.ShouldSerializeVerticalAlign">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.ShouldSerializeVerticalAlign.html#C1_Win_TreeView_TreeNodeCellStyles_ShouldSerializeVerticalAlign">ShouldSerializeVerticalAlign()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if the VerticalAlign has changed; otherwise, returns false.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_ShouldSerializeWordWrap" data-uid="C1.Win.TreeView.TreeNodeCellStyles.ShouldSerializeWordWrap">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.ShouldSerializeWordWrap.html#C1_Win_TreeView_TreeNodeCellStyles_ShouldSerializeWordWrap">ShouldSerializeWordWrap()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if the WordWrap has changed; otherwise, returns false.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_TreeNodeCellStyles_Style_PropertyChanged_System_Object_System_ComponentModel_PropertyChangedEventArgs_" data-uid="C1.Win.TreeView.TreeNodeCellStyles.Style_PropertyChanged(System.Object,System.ComponentModel.PropertyChangedEventArgs)">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.Style_PropertyChanged.html#C1_Win_TreeView_TreeNodeCellStyles_Style_PropertyChanged_System_Object_System_ComponentModel_PropertyChangedEventArgs_">Style_PropertyChanged(object, PropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Handles the PropertyChanged event of the styles.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_TreeNodeCellStyles_PropertyChanged" data-uid="C1.Win.TreeView.TreeNodeCellStyles.PropertyChanged">
          <a class="xref" href="C1.Win.TreeView.TreeNodeCellStyles.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a property value changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
