# C1.WPF.C1TreeViewItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1TreeViewItem" data-uid="C1.WPF.C1TreeViewItem" class="text-break">C1TreeViewItem Class
</h1>
  <div class="markdown level0 summary"><p>Implements a selectable item in a C1TreeView control.</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="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.itemscontrol">ItemsControl</a></div>
    <div class="level8"><a class="xref" href="C1.WPF.C1HierarchicalPresenter.html">C1HierarchicalPresenter</a></div>
    <div class="level9"><span class="xref">C1TreeViewItem</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iaddchild">IAddChild</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.icontainitemstorage">IContainItemStorage</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1TreeViewItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;HeaderPanel&quot;, Type = typeof(Grid))]
[TemplatePart(Name = &quot;Header&quot;, Type = typeof(ContentControl))]
[TemplatePart(Name = &quot;ExpandButton&quot;, Type = typeof(ToggleButton))]
[TemplatePart(Name = &quot;ChildrenPanel&quot;, Type = typeof(ItemsPresenter))]
[TemplatePart(Name = &quot;HeaderPanelContainer&quot;, Type = typeof(Grid))]
[TemplateVisualState(Name = &quot;Expanded&quot;, GroupName = &quot;ExpandedStatesStates&quot;)]
[TemplateVisualState(Name = &quot;Collapsed&quot;, GroupName = &quot;ExpandedStatesStates&quot;)]
[TemplateVisualState(Name = &quot;Selected&quot;, GroupName = &quot;SelectionStates&quot;)]
[TemplateVisualState(Name = &quot;Unselected&quot;, GroupName = &quot;SelectionStates&quot;)]
public class C1TreeViewItem : C1HierarchicalPresenter, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;HeaderPanel&quot;, Type:=GetType(Grid))&gt;
&lt;TemplatePart(Name:=&quot;Header&quot;, Type:=GetType(ContentControl))&gt;
&lt;TemplatePart(Name:=&quot;ExpandButton&quot;, Type:=GetType(ToggleButton))&gt;
&lt;TemplatePart(Name:=&quot;ChildrenPanel&quot;, Type:=GetType(ItemsPresenter))&gt;
&lt;TemplatePart(Name:=&quot;HeaderPanelContainer&quot;, Type:=GetType(Grid))&gt;
&lt;TemplateVisualState(Name:=&quot;Expanded&quot;, GroupName:=&quot;ExpandedStatesStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Collapsed&quot;, GroupName:=&quot;ExpandedStatesStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Selected&quot;, GroupName:=&quot;SelectionStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Unselected&quot;, GroupName:=&quot;SelectionStates&quot;)&gt;
Public Class C1TreeViewItem
    Inherits C1HierarchicalPresenter
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage</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_WPF_C1TreeViewItem__ctor" data-uid="C1.WPF.C1TreeViewItem.#ctor">
          <a class="xref" href="C1.WPF.C1TreeViewItem.-ctor.html#C1_WPF_C1TreeViewItem__ctor">C1TreeViewItem()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.C1TreeViewItem.html">C1TreeViewItem</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_EditTemplateProperty" data-uid="C1.WPF.C1TreeViewItem.EditTemplateProperty">
          <a class="xref" href="C1.WPF.C1TreeViewItem.EditTemplateProperty.html">EditTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TreeViewItem.EditTemplate.html#C1_WPF_C1TreeViewItem_EditTemplate">EditTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_IsExpandedProperty" data-uid="C1.WPF.C1TreeViewItem.IsExpandedProperty">
          <a class="xref" href="C1.WPF.C1TreeViewItem.IsExpandedProperty.html">IsExpandedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TreeViewItem.IsExpanded.html#C1_WPF_C1TreeViewItem_IsExpanded">IsExpanded</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_IsSelectedProperty" data-uid="C1.WPF.C1TreeViewItem.IsSelectedProperty">
          <a class="xref" href="C1.WPF.C1TreeViewItem.IsSelectedProperty.html">IsSelectedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TreeViewItem.IsSelected.html#C1_WPF_C1TreeViewItem_IsSelected">IsSelected</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_LineDashArrayProperty" data-uid="C1.WPF.C1TreeViewItem.LineDashArrayProperty">
          <a class="xref" href="C1.WPF.C1TreeViewItem.LineDashArrayProperty.html">LineDashArrayProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TreeViewItem.LineDashArray.html#C1_WPF_C1TreeViewItem_LineDashArray">LineDashArray</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_LineStrokeProperty" data-uid="C1.WPF.C1TreeViewItem.LineStrokeProperty">
          <a class="xref" href="C1.WPF.C1TreeViewItem.LineStrokeProperty.html">LineStrokeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TreeViewItem.LineStroke.html#C1_WPF_C1TreeViewItem_LineStroke">LineStroke</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_LineThicknessProperty" data-uid="C1.WPF.C1TreeViewItem.LineThicknessProperty">
          <a class="xref" href="C1.WPF.C1TreeViewItem.LineThicknessProperty.html">LineThicknessProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TreeViewItem.LineThickness.html#C1_WPF_C1TreeViewItem_LineThickness">LineThickness</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_MouseOverBrushProperty" data-uid="C1.WPF.C1TreeViewItem.MouseOverBrushProperty">
          <a class="xref" href="C1.WPF.C1TreeViewItem.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TreeViewItem.MouseOverBrush.html#C1_WPF_C1TreeViewItem_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_SelectedBackgroundProperty" data-uid="C1.WPF.C1TreeViewItem.SelectedBackgroundProperty">
          <a class="xref" href="C1.WPF.C1TreeViewItem.SelectedBackgroundProperty.html">SelectedBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TreeViewItem.SelectedBackground.html#C1_WPF_C1TreeViewItem_SelectedBackground">SelectedBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_TextAlignmentProperty" data-uid="C1.WPF.C1TreeViewItem.TextAlignmentProperty">
          <a class="xref" href="C1.WPF.C1TreeViewItem.TextAlignmentProperty.html">TextAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TreeViewItem.TextAlignment.html#C1_WPF_C1TreeViewItem_TextAlignment">TextAlignment</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_TextDecorationsProperty" data-uid="C1.WPF.C1TreeViewItem.TextDecorationsProperty">
          <a class="xref" href="C1.WPF.C1TreeViewItem.TextDecorationsProperty.html">TextDecorationsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TreeViewItem.TextDecorations.html#C1_WPF_C1TreeViewItem_TextDecorations">TextDecorations</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_TextWrappingProperty" data-uid="C1.WPF.C1TreeViewItem.TextWrappingProperty">
          <a class="xref" href="C1.WPF.C1TreeViewItem.TextWrappingProperty.html">TextWrappingProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TreeViewItem.TextWrapping.html#C1_WPF_C1TreeViewItem_TextWrapping">TextWrapping</a> dependency property.</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_WPF_C1TreeViewItem_EditTemplate" data-uid="C1.WPF.C1TreeViewItem.EditTemplate">
          <a class="xref" href="C1.WPF.C1TreeViewItem.EditTemplate.html#C1_WPF_C1TreeViewItem_EditTemplate">EditTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the template used to edit  the contents of the items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_FirstNode" data-uid="C1.WPF.C1TreeViewItem.FirstNode">
          <a class="xref" href="C1.WPF.C1TreeViewItem.FirstNode.html#C1_WPF_C1TreeViewItem_FirstNode">FirstNode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets this node's first child.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_Index" data-uid="C1.WPF.C1TreeViewItem.Index">
          <a class="xref" href="C1.WPF.C1TreeViewItem.Index.html#C1_WPF_C1TreeViewItem_Index">Index</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of this <span class="xref">C1.Silverlight.C1TreeViewItem</span> in its parent items collection</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_IsExpanded" data-uid="C1.WPF.C1TreeViewItem.IsExpanded">
          <a class="xref" href="C1.WPF.C1TreeViewItem.IsExpanded.html#C1_WPF_C1TreeViewItem_IsExpanded">IsExpanded</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether a <a class="xref" href="C1.WPF.C1TreeViewItem.html">C1TreeViewItem</a> is expanded.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_IsSelected" data-uid="C1.WPF.C1TreeViewItem.IsSelected">
          <a class="xref" href="C1.WPF.C1TreeViewItem.IsSelected.html#C1_WPF_C1TreeViewItem_IsSelected">IsSelected</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether a <a class="xref" href="C1.WPF.C1TreeViewItem.html">C1TreeViewItem</a> control is selected.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_LastNode" data-uid="C1.WPF.C1TreeViewItem.LastNode">
          <a class="xref" href="C1.WPF.C1TreeViewItem.LastNode.html#C1_WPF_C1TreeViewItem_LastNode">LastNode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets this node's last child.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_LineDashArray" data-uid="C1.WPF.C1TreeViewItem.LineDashArray">
          <a class="xref" href="C1.WPF.C1TreeViewItem.LineDashArray.html#C1_WPF_C1TreeViewItem_LineDashArray">LineDashArray</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a Collection of System.Double values that indicates the pattern of dashes and gaps that is used to the connecting lines.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_LineStroke" data-uid="C1.WPF.C1TreeViewItem.LineStroke">
          <a class="xref" href="C1.WPF.C1TreeViewItem.LineStroke.html#C1_WPF_C1TreeViewItem_LineStroke">LineStroke</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush used to paint the connecting lines.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_LineThickness" data-uid="C1.WPF.C1TreeViewItem.LineThickness">
          <a class="xref" href="C1.WPF.C1TreeViewItem.LineThickness.html#C1_WPF_C1TreeViewItem_LineThickness">LineThickness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of the connecting lines.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_MouseOverBrush" data-uid="C1.WPF.C1TreeViewItem.MouseOverBrush">
          <a class="xref" href="C1.WPF.C1TreeViewItem.MouseOverBrush.html#C1_WPF_C1TreeViewItem_MouseOverBrush">MouseOverBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> used to highlight the control when it has the mouse over.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_NextNode" data-uid="C1.WPF.C1TreeViewItem.NextNode">
          <a class="xref" href="C1.WPF.C1TreeViewItem.NextNode.html#C1_WPF_C1TreeViewItem_NextNode">NextNode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the next node to this one on the <span class="xref">C1.Silverlight.C1TreeView</span>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_NextVisibleNode" data-uid="C1.WPF.C1TreeViewItem.NextVisibleNode">
          <a class="xref" href="C1.WPF.C1TreeViewItem.NextVisibleNode.html#C1_WPF_C1TreeViewItem_NextVisibleNode">NextVisibleNode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the next visible node to this one on the <span class="xref">C1.Silverlight.C1TreeView</span>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_Panel" data-uid="C1.WPF.C1TreeViewItem.Panel">
          <a class="xref" href="C1.WPF.C1TreeViewItem.Panel.html#C1_WPF_C1TreeViewItem_Panel">Panel</a>
        </td>
        <td class="markdown level1 summary"><p>Get the panel associated with this items control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_Parent" data-uid="C1.WPF.C1TreeViewItem.Parent">
          <a class="xref" href="C1.WPF.C1TreeViewItem.Parent.html#C1_WPF_C1TreeViewItem_Parent">Parent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.C1TreeViewItem.html">C1TreeViewItem</a> that is the parent of this item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_ParentItem" data-uid="C1.WPF.C1TreeViewItem.ParentItem">
          <a class="xref" href="C1.WPF.C1TreeViewItem.ParentItem.html#C1_WPF_C1TreeViewItem_ParentItem">ParentItem</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.C1TreeViewItem.html">C1TreeViewItem</a> that is the parent of this item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_PrevNode" data-uid="C1.WPF.C1TreeViewItem.PrevNode">
          <a class="xref" href="C1.WPF.C1TreeViewItem.PrevNode.html#C1_WPF_C1TreeViewItem_PrevNode">PrevNode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the previous node to this one on the <span class="xref">C1.Silverlight.C1TreeView</span>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_PrevVisibleNode" data-uid="C1.WPF.C1TreeViewItem.PrevVisibleNode">
          <a class="xref" href="C1.WPF.C1TreeViewItem.PrevVisibleNode.html#C1_WPF_C1TreeViewItem_PrevVisibleNode">PrevVisibleNode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the previous visible node to this one on the <span class="xref">C1.Silverlight.C1TreeView</span>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_SelectedBackground" data-uid="C1.WPF.C1TreeViewItem.SelectedBackground">
          <a class="xref" href="C1.WPF.C1TreeViewItem.SelectedBackground.html#C1_WPF_C1TreeViewItem_SelectedBackground">SelectedBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> used to highlight the control when it is selected.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_TextAlignment" data-uid="C1.WPF.C1TreeViewItem.TextAlignment">
          <a class="xref" href="C1.WPF.C1TreeViewItem.TextAlignment.html#C1_WPF_C1TreeViewItem_TextAlignment">TextAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates the horizontal alignment of text content in the Header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_TextDecorations" data-uid="C1.WPF.C1TreeViewItem.TextDecorations">
          <a class="xref" href="C1.WPF.C1TreeViewItem.TextDecorations.html#C1_WPF_C1TreeViewItem_TextDecorations">TextDecorations</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a TextDecorationCollection that contains the effects to apply to the text of the Header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_TextWrapping" data-uid="C1.WPF.C1TreeViewItem.TextWrapping">
          <a class="xref" href="C1.WPF.C1TreeViewItem.TextWrapping.html#C1_WPF_C1TreeViewItem_TextWrapping">TextWrapping</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates how any text should be wrapped in the Header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_TreeView" data-uid="C1.WPF.C1TreeViewItem.TreeView">
          <a class="xref" href="C1.WPF.C1TreeViewItem.TreeView.html#C1_WPF_C1TreeViewItem_TreeView">TreeView</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the parent <a class="xref" href="C1.WPF.C1TreeView.html">C1TreeView</a> of this item.</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_WPF_C1TreeViewItem_ChangeVisualStateExpandedStates_System_Boolean_" data-uid="C1.WPF.C1TreeViewItem.ChangeVisualStateExpandedStates(System.Boolean)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.ChangeVisualStateExpandedStates.html#C1_WPF_C1TreeViewItem_ChangeVisualStateExpandedStates_System_Boolean_">ChangeVisualStateExpandedStates(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the ExpandedStates visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_ChangeVisualStateItemLine_System_Boolean_System_Boolean_" data-uid="C1.WPF.C1TreeViewItem.ChangeVisualStateItemLine(System.Boolean,System.Boolean)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.ChangeVisualStateItemLine.html#C1_WPF_C1TreeViewItem_ChangeVisualStateItemLine_System_Boolean_System_Boolean_">ChangeVisualStateItemLine(bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the ItemLine visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_ChangeVisualStateSelection_System_Boolean_" data-uid="C1.WPF.C1TreeViewItem.ChangeVisualStateSelection(System.Boolean)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.ChangeVisualStateSelection.html#C1_WPF_C1TreeViewItem_ChangeVisualStateSelection_System_Boolean_">ChangeVisualStateSelection(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the Selection visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_ChangeVisualStateShowLines_System_Boolean_" data-uid="C1.WPF.C1TreeViewItem.ChangeVisualStateShowLines(System.Boolean)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.ChangeVisualStateShowLines.html#C1_WPF_C1TreeViewItem_ChangeVisualStateShowLines_System_Boolean_">ChangeVisualStateShowLines(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the ShowLines visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_ClearContainerForItemOverride_System_Windows_DependencyObject_System_Object_" data-uid="C1.WPF.C1TreeViewItem.ClearContainerForItemOverride(System.Windows.DependencyObject,System.Object)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.ClearContainerForItemOverride.html#C1_WPF_C1TreeViewItem_ClearContainerForItemOverride_System_Windows_DependencyObject_System_Object_">ClearContainerForItemOverride(DependencyObject, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_Collapse" data-uid="C1.WPF.C1TreeViewItem.Collapse">
          <a class="xref" href="C1.WPF.C1TreeViewItem.Collapse.html#C1_WPF_C1TreeViewItem_Collapse">Collapse()</a>
        </td>
        <td class="markdown level1 summary"><p>Collapses the <span class="xref">C1.Silverlight.C1TreeViewItem</span>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_EnsureVisible" data-uid="C1.WPF.C1TreeViewItem.EnsureVisible">
          <a class="xref" href="C1.WPF.C1TreeViewItem.EnsureVisible.html#C1_WPF_C1TreeViewItem_EnsureVisible">EnsureVisible()</a>
        </td>
        <td class="markdown level1 summary"><p>Scrolls the <span class="xref">C1.Silverlight.C1TreeViewItem</span> into view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_Expand" data-uid="C1.WPF.C1TreeViewItem.Expand">
          <a class="xref" href="C1.WPF.C1TreeViewItem.Expand.html#C1_WPF_C1TreeViewItem_Expand">Expand()</a>
        </td>
        <td class="markdown level1 summary"><p>Expands the <span class="xref">C1.Silverlight.C1TreeViewItem</span>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_GetContainerForItemOverride" data-uid="C1.WPF.C1TreeViewItem.GetContainerForItemOverride">
          <a class="xref" href="C1.WPF.C1TreeViewItem.GetContainerForItemOverride.html#C1_WPF_C1TreeViewItem_GetContainerForItemOverride">GetContainerForItemOverride()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_IsItemItsOwnContainerOverride_System_Object_" data-uid="C1.WPF.C1TreeViewItem.IsItemItsOwnContainerOverride(System.Object)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.IsItemItsOwnContainerOverride.html#C1_WPF_C1TreeViewItem_IsItemItsOwnContainerOverride_System_Object_">IsItemItsOwnContainerOverride(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_MeasureOverride_System_Windows_Size_" data-uid="C1.WPF.C1TreeViewItem.MeasureOverride(System.Windows.Size)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.MeasureOverride.html#C1_WPF_C1TreeViewItem_MeasureOverride_System_Windows_Size_">MeasureOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Called to re-measure a control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnApplyTemplate" data-uid="C1.WPF.C1TreeViewItem.OnApplyTemplate">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnApplyTemplate.html#C1_WPF_C1TreeViewItem_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.C1TreeViewItem.html">C1TreeViewItem</a> control when a new template is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnClick_C1_WPF_SourcedEventArgs_" data-uid="C1.WPF.C1TreeViewItem.OnClick(C1.WPF.SourcedEventArgs)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnClick.html#C1_WPF_C1TreeViewItem_OnClick_C1_WPF_SourcedEventArgs_">OnClick(SourcedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <span class="xref">C1.Silverlight.C1TreeViewItem.Click</span> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnCollapsed_C1_WPF_SourcedEventArgs_" data-uid="C1.WPF.C1TreeViewItem.OnCollapsed(C1.WPF.SourcedEventArgs)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnCollapsed.html#C1_WPF_C1TreeViewItem_OnCollapsed_C1_WPF_SourcedEventArgs_">OnCollapsed(SourcedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <span class="xref">C1.Silverlight.C1TreeViewItem.Collapsed</span> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnCollapsing_C1_WPF_SourcedEventArgs_" data-uid="C1.WPF.C1TreeViewItem.OnCollapsing(C1.WPF.SourcedEventArgs)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnCollapsing.html#C1_WPF_C1TreeViewItem_OnCollapsing_C1_WPF_SourcedEventArgs_">OnCollapsing(SourcedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <span class="xref">C1.Silverlight.C1TreeViewItem.Collapsing</span> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnCreateAutomationPeer" data-uid="C1.WPF.C1TreeViewItem.OnCreateAutomationPeer">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnCreateAutomationPeer.html#C1_WPF_C1TreeViewItem_OnCreateAutomationPeer">OnCreateAutomationPeer()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an AutomationPeer object used for testing the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnExpandButtonClick" data-uid="C1.WPF.C1TreeViewItem.OnExpandButtonClick">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnExpandButtonClick.html#C1_WPF_C1TreeViewItem_OnExpandButtonClick">OnExpandButtonClick()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the user clicks the expand/collapse button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnExpanded_C1_WPF_SourcedEventArgs_" data-uid="C1.WPF.C1TreeViewItem.OnExpanded(C1.WPF.SourcedEventArgs)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnExpanded.html#C1_WPF_C1TreeViewItem_OnExpanded_C1_WPF_SourcedEventArgs_">OnExpanded(SourcedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <span class="xref">C1.Silverlight.C1TreeViewItem.Expanded</span> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnExpanding_C1_WPF_SourcedEventArgs_" data-uid="C1.WPF.C1TreeViewItem.OnExpanding(C1.WPF.SourcedEventArgs)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnExpanding.html#C1_WPF_C1TreeViewItem_OnExpanding_C1_WPF_SourcedEventArgs_">OnExpanding(SourcedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <span class="xref">C1.Silverlight.C1TreeViewItem.Expanding</span> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnHeaderChanged_System_Object_" data-uid="C1.WPF.C1TreeViewItem.OnHeaderChanged(System.Object)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnHeaderChanged.html#C1_WPF_C1TreeViewItem_OnHeaderChanged_System_Object_">OnHeaderChanged(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the value of the <span class="xref">Header</span> property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnItemCleared_C1_WPF_ItemPreparedEventArgs_" data-uid="C1.WPF.C1TreeViewItem.OnItemCleared(C1.WPF.ItemPreparedEventArgs)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnItemCleared.html#C1_WPF_C1TreeViewItem_OnItemCleared_C1_WPF_ItemPreparedEventArgs_">OnItemCleared(ItemPreparedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <span class="xref">C1.Silverlight.C1HierarchicalPresenter.ItemCleared</span> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnItemPrepared_C1_WPF_ItemPreparedEventArgs_" data-uid="C1.WPF.C1TreeViewItem.OnItemPrepared(C1.WPF.ItemPreparedEventArgs)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnItemPrepared.html#C1_WPF_C1TreeViewItem_OnItemPrepared_C1_WPF_ItemPreparedEventArgs_">OnItemPrepared(ItemPreparedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <span class="xref">C1.Silverlight.C1HierarchicalPresenter.ItemPrepared</span> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnItemsChanged_System_Collections_Specialized_NotifyCollectionChangedEventArgs_" data-uid="C1.WPF.C1TreeViewItem.OnItemsChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnItemsChanged.html#C1_WPF_C1TreeViewItem_OnItemsChanged_System_Collections_Specialized_NotifyCollectionChangedEventArgs_">OnItemsChanged(NotifyCollectionChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the Items property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnKeyDown_System_Object_System_Windows_Input_KeyEventArgs_" data-uid="C1.WPF.C1TreeViewItem.OnKeyDown(System.Object,System.Windows.Input.KeyEventArgs)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnKeyDown.html#C1_WPF_C1TreeViewItem_OnKeyDown_System_Object_System_Windows_Input_KeyEventArgs_">OnKeyDown(object, KeyEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the user presses a key, performs keyboard auto-search and node navigation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnMouseLeftButtonDown_System_Windows_Input_MouseButtonEventArgs_" data-uid="C1.WPF.C1TreeViewItem.OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnMouseLeftButtonDown.html#C1_WPF_C1TreeViewItem_OnMouseLeftButtonDown_System_Windows_Input_MouseButtonEventArgs_">OnMouseLeftButtonDown(MouseButtonEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_OnTapped_System_Object_C1_WPF_C1TappedEventArgs_" data-uid="C1.WPF.C1TreeViewItem.OnTapped(System.Object,C1.WPF.C1TappedEventArgs)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.OnTapped.html#C1_WPF_C1TreeViewItem_OnTapped_System_Object_C1_WPF_C1TappedEventArgs_">OnTapped(object, C1TappedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the user presses the left mouse button over the item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_PrepareContainerForItemOverride_System_Windows_DependencyObject_System_Object_" data-uid="C1.WPF.C1TreeViewItem.PrepareContainerForItemOverride(System.Windows.DependencyObject,System.Object)">
          <a class="xref" href="C1.WPF.C1TreeViewItem.PrepareContainerForItemOverride.html#C1_WPF_C1TreeViewItem_PrepareContainerForItemOverride_System_Windows_DependencyObject_System_Object_">PrepareContainerForItemOverride(DependencyObject, object)</a>
        </td>
        <td class="markdown level1 summary"></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_WPF_C1TreeViewItem_Click" data-uid="C1.WPF.C1TreeViewItem.Click">
          <a class="xref" href="C1.WPF.C1TreeViewItem.Click.html">Click</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the <a class="xref" href="C1.WPF.C1TreeViewItem.html">C1TreeViewItem</a> is clicked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_Collapsed" data-uid="C1.WPF.C1TreeViewItem.Collapsed">
          <a class="xref" href="C1.WPF.C1TreeViewItem.Collapsed.html">Collapsed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after the <a class="xref" href="C1.WPF.C1TreeViewItem.html">C1TreeViewItem</a> is collapsed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_Collapsing" data-uid="C1.WPF.C1TreeViewItem.Collapsing">
          <a class="xref" href="C1.WPF.C1TreeViewItem.Collapsing.html">Collapsing</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs before the <a class="xref" href="C1.WPF.C1TreeViewItem.html">C1TreeViewItem</a> is collapsed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_Expanded" data-uid="C1.WPF.C1TreeViewItem.Expanded">
          <a class="xref" href="C1.WPF.C1TreeViewItem.Expanded.html">Expanded</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after the <a class="xref" href="C1.WPF.C1TreeViewItem.html">C1TreeViewItem</a> is expanded.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_Expanding" data-uid="C1.WPF.C1TreeViewItem.Expanding">
          <a class="xref" href="C1.WPF.C1TreeViewItem.Expanding.html">Expanding</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs before the <a class="xref" href="C1.WPF.C1TreeViewItem.html">C1TreeViewItem</a> is expanded.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TreeViewItem_IsExpandedChanged" data-uid="C1.WPF.C1TreeViewItem.IsExpandedChanged">
          <a class="xref" href="C1.WPF.C1TreeViewItem.IsExpandedChanged.html">IsExpandedChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the <span class="xref">IsExpanded</span> property has changed.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="C1.WPF.Extensions.FindParent.html#C1_WPF_Extensions_FindParent__1_System_Windows_FrameworkElement_">Extensions.FindParent&lt;T&gt;(FrameworkElement)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.GetAllParents.html#C1_WPF_Extensions_GetAllParents_System_Windows_FrameworkElement_">Extensions.GetAllParents(FrameworkElement)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.GetVisualStateGroup.html#C1_WPF_Extensions_GetVisualStateGroup_System_Windows_FrameworkElement_System_String_">Extensions.GetVisualStateGroup(FrameworkElement, string)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.SetBinding.html#C1_WPF_Extensions_SetBinding__1_System_Windows_FrameworkElement_System_Windows_DependencyProperty___0_System_Linq_Expressions_Expression_System_Func___0_System_Object___">Extensions.SetBinding&lt;T&gt;(FrameworkElement, DependencyProperty, T, Expression&lt;Func&lt;T, object&gt;&gt;)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.SetBinding.html#C1_WPF_Extensions_SetBinding__1_System_Windows_FrameworkElement_System_Windows_DependencyProperty___0_System_Linq_Expressions_Expression_System_Func___0_System_Object___System_Windows_Data_IValueConverter_">Extensions.SetBinding&lt;T&gt;(FrameworkElement, DependencyProperty, T, Expression&lt;Func&lt;T, object&gt;&gt;, IValueConverter)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.C1TransformToVisual.html#C1_WPF_Extensions_C1TransformToVisual_System_Windows_UIElement_System_Windows_UIElement_">Extensions.C1TransformToVisual(UIElement, UIElement)</a>
  </div>

</div>
