# C1.WPF.C1TabItemPresenter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1TabItemPresenter" data-uid="C1.WPF.C1TabItemPresenter" class="text-break">C1TabItemPresenter Class
</h1>
  <div class="markdown level0 summary"><p>Internal element used in both <a class="xref" href="C1.WPF.C1TabItem.html">C1TabItem</a> and C1DockTabItem to avoid repetition.</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">C1TabItemPresenter</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.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1TabItemPresenter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplateVisualState(Name = &quot;Selected&quot;, GroupName = &quot;SelectionStates&quot;)]
[TemplateVisualState(Name = &quot;Unselected&quot;, GroupName = &quot;SelectionStates&quot;)]
[TemplateVisualState(Name = &quot;LeftTabStripPlacement&quot;, GroupName = &quot;TabStripPlacementStates&quot;)]
[TemplateVisualState(Name = &quot;TopTabStripPlacement&quot;, GroupName = &quot;TabStripPlacementStates&quot;)]
[TemplateVisualState(Name = &quot;RightTabStripPlacement&quot;, GroupName = &quot;TabStripPlacementStates&quot;)]
[TemplateVisualState(Name = &quot;BottomTabStripPlacement&quot;, GroupName = &quot;TabStripPlacementStates&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 C1TabItemPresenter : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&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;LeftTabStripPlacement&quot;, GroupName:=&quot;TabStripPlacementStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;TopTabStripPlacement&quot;, GroupName:=&quot;TabStripPlacementStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;RightTabStripPlacement&quot;, GroupName:=&quot;TabStripPlacementStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;BottomTabStripPlacement&quot;, GroupName:=&quot;TabStripPlacementStates&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 C1TabItemPresenter
    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_C1TabItemPresenter__ctor" data-uid="C1.WPF.C1TabItemPresenter.#ctor">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.-ctor.html#C1_WPF_C1TabItemPresenter__ctor">C1TabItemPresenter()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.C1TabItemPresenter.html">C1TabItemPresenter</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_C1TabItemPresenter_CornerRadiusProperty" data-uid="C1.WPF.C1TabItemPresenter.CornerRadiusProperty">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.CornerRadiusProperty.html">CornerRadiusProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TabItemPresenter.CornerRadius.html#C1_WPF_C1TabItemPresenter_CornerRadius">CornerRadius</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TabItemPresenter_IsSelectedProperty" data-uid="C1.WPF.C1TabItemPresenter.IsSelectedProperty">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.IsSelectedProperty.html">IsSelectedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TabItemPresenter.IsSelected.html#C1_WPF_C1TabItemPresenter_IsSelected">IsSelected</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TabItemPresenter_MouseOverBrushProperty" data-uid="C1.WPF.C1TabItemPresenter.MouseOverBrushProperty">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TabItemPresenter.MouseOverBrush.html#C1_WPF_C1TabItemPresenter_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TabItemPresenter_PressedBrushProperty" data-uid="C1.WPF.C1TabItemPresenter.PressedBrushProperty">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.PressedBrushProperty.html">PressedBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TabItemPresenter.PressedBrush.html#C1_WPF_C1TabItemPresenter_PressedBrush">PressedBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TabItemPresenter_SelectedBackgroundProperty" data-uid="C1.WPF.C1TabItemPresenter.SelectedBackgroundProperty">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.SelectedBackgroundProperty.html">SelectedBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TabItemPresenter.SelectedBackground.html#C1_WPF_C1TabItemPresenter_SelectedBackground">SelectedBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TabItemPresenter_ShowSelectedCuesProperty" data-uid="C1.WPF.C1TabItemPresenter.ShowSelectedCuesProperty">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.ShowSelectedCuesProperty.html">ShowSelectedCuesProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TabItemPresenter.ShowSelectedCues.html#C1_WPF_C1TabItemPresenter_ShowSelectedCues">ShowSelectedCues</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TabItemPresenter_TabShapeProperty" data-uid="C1.WPF.C1TabItemPresenter.TabShapeProperty">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.TabShapeProperty.html">TabShapeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TabItemPresenter.TabShape.html#C1_WPF_C1TabItemPresenter_TabShape">TabShape</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TabItemPresenter_TabStripPlacementProperty" data-uid="C1.WPF.C1TabItemPresenter.TabStripPlacementProperty">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.TabStripPlacementProperty.html">TabStripPlacementProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1TabItemPresenter.TabStripPlacement.html#C1_WPF_C1TabItemPresenter_TabStripPlacement">TabStripPlacement</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_C1TabItemPresenter_CornerRadius" data-uid="C1.WPF.C1TabItemPresenter.CornerRadius">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.CornerRadius.html#C1_WPF_C1TabItemPresenter_CornerRadius">CornerRadius</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that represents the degree to which the corners of the element are rounded.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TabItemPresenter_IsSelected" data-uid="C1.WPF.C1TabItemPresenter.IsSelected">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.IsSelected.html#C1_WPF_C1TabItemPresenter_IsSelected">IsSelected</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the element is currently selected.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TabItemPresenter_MouseOverBrush" data-uid="C1.WPF.C1TabItemPresenter.MouseOverBrush">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.MouseOverBrush.html#C1_WPF_C1TabItemPresenter_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_C1TabItemPresenter_PressedBrush" data-uid="C1.WPF.C1TabItemPresenter.PressedBrush">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.PressedBrush.html#C1_WPF_C1TabItemPresenter_PressedBrush">PressedBrush</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 paint a button when it is pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TabItemPresenter_SelectedBackground" data-uid="C1.WPF.C1TabItemPresenter.SelectedBackground">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.SelectedBackground.html#C1_WPF_C1TabItemPresenter_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_C1TabItemPresenter_ShowSelectedCues" data-uid="C1.WPF.C1TabItemPresenter.ShowSelectedCues">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.ShowSelectedCues.html#C1_WPF_C1TabItemPresenter_ShowSelectedCues">ShowSelectedCues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the selected visuals of the control are visible.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TabItemPresenter_TabShape" data-uid="C1.WPF.C1TabItemPresenter.TabShape">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.TabShape.html#C1_WPF_C1TabItemPresenter_TabShape">TabShape</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the visual form of the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TabItemPresenter_TabStripPlacement" data-uid="C1.WPF.C1TabItemPresenter.TabStripPlacement">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.TabStripPlacement.html#C1_WPF_C1TabItemPresenter_TabStripPlacement">TabStripPlacement</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the location of the panel with the tabs relative to the whole control.</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_C1TabItemPresenter_ChangeVisualStateCommon_System_Boolean_" data-uid="C1.WPF.C1TabItemPresenter.ChangeVisualStateCommon(System.Boolean)">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.ChangeVisualStateCommon.html#C1_WPF_C1TabItemPresenter_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_C1TabItemPresenter_ChangeVisualStateSelection_System_Boolean_" data-uid="C1.WPF.C1TabItemPresenter.ChangeVisualStateSelection(System.Boolean)">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.ChangeVisualStateSelection.html#C1_WPF_C1TabItemPresenter_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_C1TabItemPresenter_ChangeVisualStateTabStripPlacement_System_Boolean_" data-uid="C1.WPF.C1TabItemPresenter.ChangeVisualStateTabStripPlacement(System.Boolean)">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.ChangeVisualStateTabStripPlacement.html#C1_WPF_C1TabItemPresenter_ChangeVisualStateTabStripPlacement_System_Boolean_">ChangeVisualStateTabStripPlacement(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the TabStripPlacement visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TabItemPresenter_OnApplyTemplate" data-uid="C1.WPF.C1TabItemPresenter.OnApplyTemplate">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.OnApplyTemplate.html#C1_WPF_C1TabItemPresenter_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.C1TabItemPresenter.html">C1TabItemPresenter</a> control when a new template is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TabItemPresenter_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_" data-uid="C1.WPF.C1TabItemPresenter.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.OnPropertyChanged.html#C1_WPF_C1TabItemPresenter_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_C1TabItemPresenter_IsMouseOverChanged" data-uid="C1.WPF.C1TabItemPresenter.IsMouseOverChanged">
          <a class="xref" href="C1.WPF.C1TabItemPresenter.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>
  <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>
