# C1.WPF.ListView.ListViewItemView

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_ListView_ListViewItemView" data-uid="C1.WPF.ListView.ListViewItemView" class="text-break">ListViewItemView Class
</h1>
  <div class="markdown level0 summary"><p>Visual element used inside a <a class="xref" href="C1.WPF.ListView.C1ListView.html">C1ListView</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">ListViewItemView</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.ListView.html">C1.WPF.ListView</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.ListView.dll</h6>
  <h5 id="C1_WPF_ListView_ListViewItemView_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;Hinting&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;HintingCheckMark&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;CheckBox&quot;, Type = typeof(C1CheckBox))]
[TemplatePart(Name = &quot;Content&quot;, Type = typeof(ContentPresenter))]
[TemplateVisualState(Name = &quot;Normal&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;MouseOver&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;Focused&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;Disabled&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;Preview&quot;, GroupName = &quot;PreviewStates&quot;)]
[TemplateVisualState(Name = &quot;Full&quot;, GroupName = &quot;PreviewStates&quot;)]
[TemplateVisualState(Name = &quot;Selected&quot;, GroupName = &quot;SelectionStates&quot;)]
[TemplateVisualState(Name = &quot;Unselected&quot;, GroupName = &quot;SelectionStates&quot;)]
public class ListViewItemView : C1ContentControl</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;Hinting&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;HintingCheckMark&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;CheckBox&quot;, Type:=GetType(C1CheckBox))&gt;
&lt;TemplatePart(Name:=&quot;Content&quot;, Type:=GetType(ContentPresenter))&gt;
&lt;TemplateVisualState(Name:=&quot;Normal&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;MouseOver&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Focused&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Disabled&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Preview&quot;, GroupName:=&quot;PreviewStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Full&quot;, GroupName:=&quot;PreviewStates&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 ListViewItemView
    Inherits C1ContentControl</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_ListView_ListViewItemView__ctor" data-uid="C1.WPF.ListView.ListViewItemView.#ctor">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.-ctor.html#C1_WPF_ListView_ListViewItemView__ctor">ListViewItemView()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.ListView.ListViewItemView.html">ListViewItemView</a> class.</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_ListView_ListViewItemView_CursorBorderBrushProperty" data-uid="C1.WPF.ListView.ListViewItemView.CursorBorderBrushProperty">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.CursorBorderBrushProperty.html">CursorBorderBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ListView.ListViewItemView.CursorBorderBrush.html#C1_WPF_ListView_ListViewItemView_CursorBorderBrush">CursorBorderBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_IsCheckedProperty" data-uid="C1.WPF.ListView.ListViewItemView.IsCheckedProperty">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.IsCheckedProperty.html">IsCheckedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ListView.ListViewItemView.IsChecked.html#C1_WPF_ListView_ListViewItemView_IsChecked">IsChecked</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_IsCursorProperty" data-uid="C1.WPF.ListView.ListViewItemView.IsCursorProperty">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.IsCursorProperty.html">IsCursorProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ListView.ListViewItemView.IsCursor.html#C1_WPF_ListView_ListViewItemView_IsCursor">IsCursor</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_IsSelectedProperty" data-uid="C1.WPF.ListView.ListViewItemView.IsSelectedProperty">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.IsSelectedProperty.html">IsSelectedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ListView.ListViewItemView.IsSelected.html#C1_WPF_ListView_ListViewItemView_IsSelected">IsSelected</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_MouseOverBrushProperty" data-uid="C1.WPF.ListView.ListViewItemView.MouseOverBrushProperty">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ListView.ListViewItemView.MouseOverBrush.html#C1_WPF_ListView_ListViewItemView_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_PreviewContentProperty" data-uid="C1.WPF.ListView.ListViewItemView.PreviewContentProperty">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.PreviewContentProperty.html">PreviewContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ListView.ListViewItemView.PreviewContent.html#C1_WPF_ListView_ListViewItemView_PreviewContent">PreviewContent</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_PreviewContentTemplateProperty" data-uid="C1.WPF.ListView.ListViewItemView.PreviewContentTemplateProperty">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.PreviewContentTemplateProperty.html">PreviewContentTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ListView.ListViewItemView.PreviewContentTemplate.html#C1_WPF_ListView_ListViewItemView_PreviewContentTemplate">PreviewContentTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_SelectedBackgroundProperty" data-uid="C1.WPF.ListView.ListViewItemView.SelectedBackgroundProperty">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.SelectedBackgroundProperty.html">SelectedBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ListView.ListViewItemView.SelectedBackground.html#C1_WPF_ListView_ListViewItemView_SelectedBackground">SelectedBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_ShowCheckBoxProperty" data-uid="C1.WPF.ListView.ListViewItemView.ShowCheckBoxProperty">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.ShowCheckBoxProperty.html">ShowCheckBoxProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ListView.ListViewItemView.ShowCheckBox.html#C1_WPF_ListView_ListViewItemView_ShowCheckBox">ShowCheckBox</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_StateProperty" data-uid="C1.WPF.ListView.ListViewItemView.StateProperty">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.StateProperty.html">StateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.ListView.ListViewItemView.State.html#C1_WPF_ListView_ListViewItemView_State">State</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_ListView_ListViewItemView_CursorBorderBrush" data-uid="C1.WPF.ListView.ListViewItemView.CursorBorderBrush">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.CursorBorderBrush.html#C1_WPF_ListView_ListViewItemView_CursorBorderBrush">CursorBorderBrush</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 border of the item used as cursor.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_IsChecked" data-uid="C1.WPF.ListView.ListViewItemView.IsChecked">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.IsChecked.html#C1_WPF_ListView_ListViewItemView_IsChecked">IsChecked</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether item is checked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_IsCursor" data-uid="C1.WPF.ListView.ListViewItemView.IsCursor">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.IsCursor.html#C1_WPF_ListView_ListViewItemView_IsCursor">IsCursor</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether the item is the cursor.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_IsFocused" data-uid="C1.WPF.ListView.ListViewItemView.IsFocused">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.IsFocused.html#C1_WPF_ListView_ListViewItemView_IsFocused">IsFocused</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the control is focused.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_IsSelected" data-uid="C1.WPF.ListView.ListViewItemView.IsSelected">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.IsSelected.html#C1_WPF_ListView_ListViewItemView_IsSelected">IsSelected</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether item is selected.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_MouseOverBrush" data-uid="C1.WPF.ListView.ListViewItemView.MouseOverBrush">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.MouseOverBrush.html#C1_WPF_ListView_ListViewItemView_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_ListView_ListViewItemView_PreviewContent" data-uid="C1.WPF.ListView.ListViewItemView.PreviewContent">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.PreviewContent.html#C1_WPF_ListView_ListViewItemView_PreviewContent">PreviewContent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the content of the preview state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_PreviewContentTemplate" data-uid="C1.WPF.ListView.ListViewItemView.PreviewContentTemplate">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.PreviewContentTemplate.html#C1_WPF_ListView_ListViewItemView_PreviewContentTemplate">PreviewContentTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the DataTemplate used when in preview state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_SelectedBackground" data-uid="C1.WPF.ListView.ListViewItemView.SelectedBackground">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.SelectedBackground.html#C1_WPF_ListView_ListViewItemView_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_ListView_ListViewItemView_ShowCheckBox" data-uid="C1.WPF.ListView.ListViewItemView.ShowCheckBox">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.ShowCheckBox.html#C1_WPF_ListView_ListViewItemView_ShowCheckBox">ShowCheckBox</a>
        </td>
        <td class="markdown level1 summary"><p>Show hide Checkbox.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_State" data-uid="C1.WPF.ListView.ListViewItemView.State">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.State.html#C1_WPF_ListView_ListViewItemView_State">State</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the state of the item, which can be Preview or Full.</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_ListView_ListViewItemView_ChangeVisualStateCommon_System_Boolean_" data-uid="C1.WPF.ListView.ListViewItemView.ChangeVisualStateCommon(System.Boolean)">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.ChangeVisualStateCommon.html#C1_WPF_ListView_ListViewItemView_ChangeVisualStateCommon_System_Boolean_">ChangeVisualStateCommon(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the Common visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_ChangeVisualStatePreview_System_Boolean_" data-uid="C1.WPF.ListView.ListViewItemView.ChangeVisualStatePreview(System.Boolean)">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.ChangeVisualStatePreview.html#C1_WPF_ListView_ListViewItemView_ChangeVisualStatePreview_System_Boolean_">ChangeVisualStatePreview(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the Preview visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_ChangeVisualStateSelection_System_Boolean_" data-uid="C1.WPF.ListView.ListViewItemView.ChangeVisualStateSelection(System.Boolean)">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.ChangeVisualStateSelection.html#C1_WPF_ListView_ListViewItemView_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_ListView_ListViewItemView_Dispose_System_Boolean_" data-uid="C1.WPF.ListView.ListViewItemView.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.Dispose.html#C1_WPF_ListView_ListViewItemView_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_OnApplyTemplate" data-uid="C1.WPF.ListView.ListViewItemView.OnApplyTemplate">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.OnApplyTemplate.html#C1_WPF_ListView_ListViewItemView_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_OnCreateAutomationPeer" data-uid="C1.WPF.ListView.ListViewItemView.OnCreateAutomationPeer">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.OnCreateAutomationPeer.html#C1_WPF_ListView_ListViewItemView_OnCreateAutomationPeer">OnCreateAutomationPeer()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_" data-uid="C1.WPF.ListView.ListViewItemView.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.OnPropertyChanged.html#C1_WPF_ListView_ListViewItemView_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_">OnPropertyChanged(DependencyPropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>OnPropertyChanged</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_WPF_ListView_ListViewItemView_CheckboxClicked" data-uid="C1.WPF.ListView.ListViewItemView.CheckboxClicked">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.CheckboxClicked.html">CheckboxClicked</a>
        </td>
        <td class="markdown level1 summary"><p>Raised when the selection checkbox is clicked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ListView_ListViewItemView_IsCheckedChanged" data-uid="C1.WPF.ListView.ListViewItemView.IsCheckedChanged">
          <a class="xref" href="C1.WPF.ListView.ListViewItemView.IsCheckedChanged.html">IsCheckedChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the <a class="xref" href="C1.WPF.ListView.ListViewItemView.IsChecked.html#C1_WPF_ListView_ListViewItemView_IsChecked">IsChecked</a> property has changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
