# C1.WPF.TabControl.C1TabItemPresenter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_TabControl_C1TabItemPresenter" data-uid="C1.WPF.TabControl.C1TabItemPresenter" class="text-break">C1TabItemPresenter Class
</h1>
  <div class="markdown level0 summary"><p>Internal element used in both <a class="xref" href="C1.WPF.TabControl.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"><span class="xref">C1TabItemPresenter</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.TabControl.html">C1.WPF.TabControl</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.TabControl.dll</h6>
  <h5 id="C1_WPF_TabControl_C1TabItemPresenter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[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;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;)]
public class C1TabItemPresenter : C1ContentControl</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&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;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;
Public Class C1TabItemPresenter
    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_TabControl_C1TabItemPresenter__ctor" data-uid="C1.WPF.TabControl.C1TabItemPresenter.#ctor">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.-ctor.html#C1_WPF_TabControl_C1TabItemPresenter__ctor">C1TabItemPresenter()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.html">C1TabItemPresenter</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_TabControl_C1TabItemPresenter_MouseOverBrushProperty" data-uid="C1.WPF.TabControl.C1TabItemPresenter.MouseOverBrushProperty">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.MouseOverBrush.html#C1_WPF_TabControl_C1TabItemPresenter_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_TabControl_C1TabItemPresenter_PressedBrushProperty" data-uid="C1.WPF.TabControl.C1TabItemPresenter.PressedBrushProperty">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.PressedBrushProperty.html">PressedBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.PressedBrush.html#C1_WPF_TabControl_C1TabItemPresenter_PressedBrush">PressedBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_TabControl_C1TabItemPresenter_RotationAngleProperty" data-uid="C1.WPF.TabControl.C1TabItemPresenter.RotationAngleProperty">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.RotationAngleProperty.html">RotationAngleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.RotationAngle.html#C1_WPF_TabControl_C1TabItemPresenter_RotationAngle">RotationAngle</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_TabControl_C1TabItemPresenter_TabShapeProperty" data-uid="C1.WPF.TabControl.C1TabItemPresenter.TabShapeProperty">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.TabShapeProperty.html">TabShapeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.TabShape.html#C1_WPF_TabControl_C1TabItemPresenter_TabShape">TabShape</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_TabControl_C1TabItemPresenter_TabStripPlacementProperty" data-uid="C1.WPF.TabControl.C1TabItemPresenter.TabStripPlacementProperty">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.TabStripPlacementProperty.html">TabStripPlacementProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.TabStripPlacement.html#C1_WPF_TabControl_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_TabControl_C1TabItemPresenter_IsFocused" data-uid="C1.WPF.TabControl.C1TabItemPresenter.IsFocused">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.IsFocused.html#C1_WPF_TabControl_C1TabItemPresenter_IsFocused">IsFocused</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the control is focused.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_TabControl_C1TabItemPresenter_MouseOverBrush" data-uid="C1.WPF.TabControl.C1TabItemPresenter.MouseOverBrush">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.MouseOverBrush.html#C1_WPF_TabControl_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_TabControl_C1TabItemPresenter_PressedBrush" data-uid="C1.WPF.TabControl.C1TabItemPresenter.PressedBrush">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.PressedBrush.html#C1_WPF_TabControl_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_TabControl_C1TabItemPresenter_RotationAngle" data-uid="C1.WPF.TabControl.C1TabItemPresenter.RotationAngle">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.RotationAngle.html#C1_WPF_TabControl_C1TabItemPresenter_RotationAngle">RotationAngle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rotation angle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_TabControl_C1TabItemPresenter_TabShape" data-uid="C1.WPF.TabControl.C1TabItemPresenter.TabShape">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.TabShape.html#C1_WPF_TabControl_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_TabControl_C1TabItemPresenter_TabStripPlacement" data-uid="C1.WPF.TabControl.C1TabItemPresenter.TabStripPlacement">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.TabStripPlacement.html#C1_WPF_TabControl_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_TabControl_C1TabItemPresenter_ChangeVisualStateCommon_System_Boolean_" data-uid="C1.WPF.TabControl.C1TabItemPresenter.ChangeVisualStateCommon(System.Boolean)">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.ChangeVisualStateCommon.html#C1_WPF_TabControl_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_TabControl_C1TabItemPresenter_ChangeVisualStateTabStripPlacement_System_Boolean_" data-uid="C1.WPF.TabControl.C1TabItemPresenter.ChangeVisualStateTabStripPlacement(System.Boolean)">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.ChangeVisualStateTabStripPlacement.html#C1_WPF_TabControl_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_TabControl_C1TabItemPresenter_Dispose_System_Boolean_" data-uid="C1.WPF.TabControl.C1TabItemPresenter.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.Dispose.html#C1_WPF_TabControl_C1TabItemPresenter_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_TabControl_C1TabItemPresenter_OnApplyTemplate" data-uid="C1.WPF.TabControl.C1TabItemPresenter.OnApplyTemplate">
          <a class="xref" href="C1.WPF.TabControl.C1TabItemPresenter.OnApplyTemplate.html#C1_WPF_TabControl_C1TabItemPresenter_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
