# C1.WPF.OutlookBar.C1OutlookItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_OutlookBar_C1OutlookItem" data-uid="C1.WPF.OutlookBar.C1OutlookItem" class="text-break">C1OutlookItem Class
</h1>
  <div class="markdown level0 summary"><p>Implements a item inside a <a class="xref" href="C1.WPF.OutlookBar.C1OutlookBar.html">C1OutlookBar</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"><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.contentcontrol">ContentControl</a></div>
    <div class="level8"><span class="xref">C1OutlookItem</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>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.OutlookBar.html">C1.WPF.OutlookBar</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.OutlookBar.4.6.2.dll</h6>
  <h5 id="C1_WPF_OutlookBar_C1OutlookItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;IconPresenter&quot;, Type = typeof(ContentPresenter))]
[TemplatePart(Name = &quot;HeaderPresenter&quot;, Type = typeof(ContentPresenter))]
[TemplateVisualState(Name = &quot;Selected&quot;, GroupName = &quot;SelectionStates&quot;)]
[TemplateVisualState(Name = &quot;Unselected&quot;, GroupName = &quot;SelectionStates&quot;)]
[TemplateVisualState(Name = &quot;Expanded&quot;, GroupName = &quot;StateStates&quot;)]
[TemplateVisualState(Name = &quot;Collapsed&quot;, GroupName = &quot;StateStates&quot;)]
[TemplateVisualState(Name = &quot;Overflow&quot;, GroupName = &quot;StateStates&quot;)]
[TemplateVisualState(Name = &quot;MouseOver&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;Disabled&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;Normal&quot;, GroupName = &quot;CommonStates&quot;)]
public class C1OutlookItem : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;IconPresenter&quot;, Type:=GetType(ContentPresenter))&gt;
&lt;TemplatePart(Name:=&quot;HeaderPresenter&quot;, Type:=GetType(ContentPresenter))&gt;
&lt;TemplateVisualState(Name:=&quot;Selected&quot;, GroupName:=&quot;SelectionStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Unselected&quot;, GroupName:=&quot;SelectionStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Expanded&quot;, GroupName:=&quot;StateStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Collapsed&quot;, GroupName:=&quot;StateStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Overflow&quot;, GroupName:=&quot;StateStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;MouseOver&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Disabled&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Normal&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
Public Class C1OutlookItem
    Inherits ContentControl
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</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_OutlookBar_C1OutlookItem__ctor" data-uid="C1.WPF.OutlookBar.C1OutlookItem.#ctor">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.-ctor.html#C1_WPF_OutlookBar_C1OutlookItem__ctor">C1OutlookItem()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.html">C1OutlookItem</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_OutlookBar_C1OutlookItem_HeaderProperty" data-uid="C1.WPF.OutlookBar.C1OutlookItem.HeaderProperty">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.HeaderProperty.html">HeaderProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.Header.html#C1_WPF_OutlookBar_C1OutlookItem_Header">Header</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_HeaderTemplateProperty" data-uid="C1.WPF.OutlookBar.C1OutlookItem.HeaderTemplateProperty">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.HeaderTemplateProperty.html">HeaderTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.HeaderTemplate.html#C1_WPF_OutlookBar_C1OutlookItem_HeaderTemplate">HeaderTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_IsSelectedProperty" data-uid="C1.WPF.OutlookBar.C1OutlookItem.IsSelectedProperty">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.IsSelectedProperty.html">IsSelectedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.IsSelected.html#C1_WPF_OutlookBar_C1OutlookItem_IsSelected">IsSelected</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_LargeIconProperty" data-uid="C1.WPF.OutlookBar.C1OutlookItem.LargeIconProperty">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.LargeIconProperty.html">LargeIconProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.LargeIcon.html#C1_WPF_OutlookBar_C1OutlookItem_LargeIcon">LargeIcon</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_LargeIconTemplateProperty" data-uid="C1.WPF.OutlookBar.C1OutlookItem.LargeIconTemplateProperty">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.LargeIconTemplateProperty.html">LargeIconTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.LargeIconTemplate.html#C1_WPF_OutlookBar_C1OutlookItem_LargeIconTemplate">LargeIconTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_MouseOverBrushProperty" data-uid="C1.WPF.OutlookBar.C1OutlookItem.MouseOverBrushProperty">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.MouseOverBrush.html#C1_WPF_OutlookBar_C1OutlookItem_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_SelectedBackgroundProperty" data-uid="C1.WPF.OutlookBar.C1OutlookItem.SelectedBackgroundProperty">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.SelectedBackgroundProperty.html">SelectedBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.SelectedBackground.html#C1_WPF_OutlookBar_C1OutlookItem_SelectedBackground">SelectedBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_SmallIconProperty" data-uid="C1.WPF.OutlookBar.C1OutlookItem.SmallIconProperty">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.SmallIconProperty.html">SmallIconProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.SmallIcon.html#C1_WPF_OutlookBar_C1OutlookItem_SmallIcon">SmallIcon</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_SmallIconTemplateProperty" data-uid="C1.WPF.OutlookBar.C1OutlookItem.SmallIconTemplateProperty">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.SmallIconTemplateProperty.html">SmallIconTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.SmallIconTemplate.html#C1_WPF_OutlookBar_C1OutlookItem_SmallIconTemplate">SmallIconTemplate</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_OutlookBar_C1OutlookItem_Header" data-uid="C1.WPF.OutlookBar.C1OutlookItem.Header">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.Header.html#C1_WPF_OutlookBar_C1OutlookItem_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value shown above the content when the item is selected.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_HeaderTemplate" data-uid="C1.WPF.OutlookBar.C1OutlookItem.HeaderTemplate">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.HeaderTemplate.html#C1_WPF_OutlookBar_C1OutlookItem_HeaderTemplate">HeaderTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a DataTemplate to style the <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.Header.html#C1_WPF_OutlookBar_C1OutlookItem_Header">Header</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_IsSelected" data-uid="C1.WPF.OutlookBar.C1OutlookItem.IsSelected">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.IsSelected.html#C1_WPF_OutlookBar_C1OutlookItem_IsSelected">IsSelected</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the item is selected.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_LargeIcon" data-uid="C1.WPF.OutlookBar.C1OutlookItem.LargeIcon">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.LargeIcon.html#C1_WPF_OutlookBar_C1OutlookItem_LargeIcon">LargeIcon</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the object shown for the item when collapsed and to the left of the header when expanded.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_LargeIconTemplate" data-uid="C1.WPF.OutlookBar.C1OutlookItem.LargeIconTemplate">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.LargeIconTemplate.html#C1_WPF_OutlookBar_C1OutlookItem_LargeIconTemplate">LargeIconTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a DataTemplate to style the <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.LargeIcon.html#C1_WPF_OutlookBar_C1OutlookItem_LargeIcon">LargeIcon</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_MouseOverBrush" data-uid="C1.WPF.OutlookBar.C1OutlookItem.MouseOverBrush">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.MouseOverBrush.html#C1_WPF_OutlookBar_C1OutlookItem_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_OutlookBar_C1OutlookItem_SelectedBackground" data-uid="C1.WPF.OutlookBar.C1OutlookItem.SelectedBackground">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.SelectedBackground.html#C1_WPF_OutlookBar_C1OutlookItem_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_OutlookBar_C1OutlookItem_SmallIcon" data-uid="C1.WPF.OutlookBar.C1OutlookItem.SmallIcon">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.SmallIcon.html#C1_WPF_OutlookBar_C1OutlookItem_SmallIcon">SmallIcon</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the object shown for the item in the overflow pane and menu. Since the object is placed in the visual tree twice, it cannot be a UIElement. Use <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.SmallIconTemplate.html#C1_WPF_OutlookBar_C1OutlookItem_SmallIconTemplate">SmallIconTemplate</a> to create a Image element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_SmallIconTemplate" data-uid="C1.WPF.OutlookBar.C1OutlookItem.SmallIconTemplate">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.SmallIconTemplate.html#C1_WPF_OutlookBar_C1OutlookItem_SmallIconTemplate">SmallIconTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a DataTemplate to style the <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.SmallIcon.html#C1_WPF_OutlookBar_C1OutlookItem_SmallIcon">SmallIcon</a>.</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_OutlookBar_C1OutlookItem_ChangeVisualStateCommon_System_Boolean_" data-uid="C1.WPF.OutlookBar.C1OutlookItem.ChangeVisualStateCommon(System.Boolean)">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.ChangeVisualStateCommon.html#C1_WPF_OutlookBar_C1OutlookItem_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_OutlookBar_C1OutlookItem_ChangeVisualStateSelection_System_Boolean_" data-uid="C1.WPF.OutlookBar.C1OutlookItem.ChangeVisualStateSelection(System.Boolean)">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.ChangeVisualStateSelection.html#C1_WPF_OutlookBar_C1OutlookItem_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_OutlookBar_C1OutlookItem_OnApplyTemplate" data-uid="C1.WPF.OutlookBar.C1OutlookItem.OnApplyTemplate">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.OnApplyTemplate.html#C1_WPF_OutlookBar_C1OutlookItem_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.html">C1OutlookItem</a> control when a new template is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_OutlookBar_C1OutlookItem_OnCreateAutomationPeer" data-uid="C1.WPF.OutlookBar.C1OutlookItem.OnCreateAutomationPeer">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.OnCreateAutomationPeer.html#C1_WPF_OutlookBar_C1OutlookItem_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_OutlookBar_C1OutlookItem_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_" data-uid="C1.WPF.OutlookBar.C1OutlookItem.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.OnPropertyChanged.html#C1_WPF_OutlookBar_C1OutlookItem_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_">OnPropertyChanged(DependencyPropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked whenever the effective value of any dependency property has been updated.</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_OutlookBar_C1OutlookItem_IsMouseOverChanged" data-uid="C1.WPF.OutlookBar.C1OutlookItem.IsMouseOverChanged">
          <a class="xref" href="C1.WPF.OutlookBar.C1OutlookItem.IsMouseOverChanged.html">IsMouseOverChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the <span class="xref">IsMouseOver</span> property has changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
