# C1.Maui.Grid.GridColumnHeaderCell

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Maui_Grid_GridColumnHeaderCell" data-uid="C1.Maui.Grid.GridColumnHeaderCell" class="text-break">GridColumnHeaderCell Class
</h1>
  <div class="markdown level0 summary"><p>Visual column header</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="../C1.Maui.Core/C1.Maui.Core.C1View.html">C1View</a></div>
    <div class="level2"><span class="xref">GridColumnHeaderCell</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Maui.Grid.html">C1.Maui.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.Maui.Grid.dll</h6>
  <h5 id="C1_Maui_Grid_GridColumnHeaderCell_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GridColumnHeaderCell : C1View, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GridColumnHeaderCell
    Inherits C1View
    Implements IDisposable</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_Maui_Grid_GridColumnHeaderCell__ctor" data-uid="C1.Maui.Grid.GridColumnHeaderCell.#ctor">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.-ctor.html#C1_Maui_Grid_GridColumnHeaderCell__ctor">GridColumnHeaderCell()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.html">GridColumnHeaderCell</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_Maui_Grid_GridColumnHeaderCell_MaxOutlineProperty" data-uid="C1.Maui.Grid.GridColumnHeaderCell.MaxOutlineProperty">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.MaxOutlineProperty.html">MaxOutlineProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.MaxOutline.html#C1_Maui_Grid_GridColumnHeaderCell_MaxOutline">MaxOutline</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_OutlineBorderColorProperty" data-uid="C1.Maui.Grid.GridColumnHeaderCell.OutlineBorderColorProperty">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.OutlineBorderColorProperty.html">OutlineBorderColorProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.OutlineBorderColor.html#C1_Maui_Grid_GridColumnHeaderCell_OutlineBorderColor">OutlineBorderColor</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_OutlineBorderWidthProperty" data-uid="C1.Maui.Grid.GridColumnHeaderCell.OutlineBorderWidthProperty">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.OutlineBorderWidthProperty.html">OutlineBorderWidthProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.OutlineBorderWidth.html#C1_Maui_Grid_GridColumnHeaderCell_OutlineBorderWidth">OutlineBorderWidth</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_OutlineColorProperty" data-uid="C1.Maui.Grid.GridColumnHeaderCell.OutlineColorProperty">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.OutlineColorProperty.html">OutlineColorProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.OutlineColor.html#C1_Maui_Grid_GridColumnHeaderCell_OutlineColor">OutlineColor</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_ShowSortProperty" data-uid="C1.Maui.Grid.GridColumnHeaderCell.ShowSortProperty">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.ShowSortProperty.html">ShowSortProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.ShowSort.html#C1_Maui_Grid_GridColumnHeaderCell_ShowSort">ShowSort</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_SortAscendingIconTemplateProperty" data-uid="C1.Maui.Grid.GridColumnHeaderCell.SortAscendingIconTemplateProperty">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortAscendingIconTemplateProperty.html">SortAscendingIconTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortAscendingIconTemplate.html#C1_Maui_Grid_GridColumnHeaderCell_SortAscendingIconTemplate">SortAscendingIconTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_SortDescendingIconTemplateProperty" data-uid="C1.Maui.Grid.GridColumnHeaderCell.SortDescendingIconTemplateProperty">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortDescendingIconTemplateProperty.html">SortDescendingIconTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortDescendingIconTemplate.html#C1_Maui_Grid_GridColumnHeaderCell_SortDescendingIconTemplate">SortDescendingIconTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_SortIconPositionProperty" data-uid="C1.Maui.Grid.GridColumnHeaderCell.SortIconPositionProperty">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortIconPositionProperty.html">SortIconPositionProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortIconPosition.html#C1_Maui_Grid_GridColumnHeaderCell_SortIconPosition">SortIconPosition</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_SortIndeterminateIconTemplateProperty" data-uid="C1.Maui.Grid.GridColumnHeaderCell.SortIndeterminateIconTemplateProperty">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortIndeterminateIconTemplateProperty.html">SortIndeterminateIconTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortIndeterminateIconTemplate.html#C1_Maui_Grid_GridColumnHeaderCell_SortIndeterminateIconTemplate">SortIndeterminateIconTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_SortStateProperty" data-uid="C1.Maui.Grid.GridColumnHeaderCell.SortStateProperty">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortStateProperty.html">SortStateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortState.html#C1_Maui_Grid_GridColumnHeaderCell_SortState">SortState</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_TitleAlignmentProperty" data-uid="C1.Maui.Grid.GridColumnHeaderCell.TitleAlignmentProperty">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.TitleAlignmentProperty.html">TitleAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.TitleAlignment.html#C1_Maui_Grid_GridColumnHeaderCell_TitleAlignment">TitleAlignment</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_TitlePaddingProperty" data-uid="C1.Maui.Grid.GridColumnHeaderCell.TitlePaddingProperty">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.TitlePaddingProperty.html">TitlePaddingProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.TitlePadding.html#C1_Maui_Grid_GridColumnHeaderCell_TitlePadding">TitlePadding</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_TitleProperty" data-uid="C1.Maui.Grid.GridColumnHeaderCell.TitleProperty">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.TitleProperty.html">TitleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.Title.html#C1_Maui_Grid_GridColumnHeaderCell_Title">Title</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_Maui_Grid_GridColumnHeaderCell_MaxOutline" data-uid="C1.Maui.Grid.GridColumnHeaderCell.MaxOutline">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.MaxOutline.html#C1_Maui_Grid_GridColumnHeaderCell_MaxOutline">MaxOutline</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of outlines.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_OutlineBorderColor" data-uid="C1.Maui.Grid.GridColumnHeaderCell.OutlineBorderColor">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.OutlineBorderColor.html#C1_Maui_Grid_GridColumnHeaderCell_OutlineBorderColor">OutlineBorderColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the outline border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_OutlineBorderWidth" data-uid="C1.Maui.Grid.GridColumnHeaderCell.OutlineBorderWidth">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.OutlineBorderWidth.html#C1_Maui_Grid_GridColumnHeaderCell_OutlineBorderWidth">OutlineBorderWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the outline border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_OutlineColor" data-uid="C1.Maui.Grid.GridColumnHeaderCell.OutlineColor">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.OutlineColor.html#C1_Maui_Grid_GridColumnHeaderCell_OutlineColor">OutlineColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the outline.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_ShowSort" data-uid="C1.Maui.Grid.GridColumnHeaderCell.ShowSort">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.ShowSort.html#C1_Maui_Grid_GridColumnHeaderCell_ShowSort">ShowSort</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the grid should display sort indicators in the column headers.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_SortAscendingIconTemplate" data-uid="C1.Maui.Grid.GridColumnHeaderCell.SortAscendingIconTemplate">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortAscendingIconTemplate.html#C1_Maui_Grid_GridColumnHeaderCell_SortAscendingIconTemplate">SortAscendingIconTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the sort ascending icon template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_SortDescendingIconTemplate" data-uid="C1.Maui.Grid.GridColumnHeaderCell.SortDescendingIconTemplate">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortDescendingIconTemplate.html#C1_Maui_Grid_GridColumnHeaderCell_SortDescendingIconTemplate">SortDescendingIconTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the sort descending icon template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_SortIconPosition" data-uid="C1.Maui.Grid.GridColumnHeaderCell.SortIconPosition">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortIconPosition.html#C1_Maui_Grid_GridColumnHeaderCell_SortIconPosition">SortIconPosition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the sort icon position.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_SortIndeterminateIconTemplate" data-uid="C1.Maui.Grid.GridColumnHeaderCell.SortIndeterminateIconTemplate">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortIndeterminateIconTemplate.html#C1_Maui_Grid_GridColumnHeaderCell_SortIndeterminateIconTemplate">SortIndeterminateIconTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the sort indeterminate icon template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_SortState" data-uid="C1.Maui.Grid.GridColumnHeaderCell.SortState">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.SortState.html#C1_Maui_Grid_GridColumnHeaderCell_SortState">SortState</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the sort state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_Title" data-uid="C1.Maui.Grid.GridColumnHeaderCell.Title">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.Title.html#C1_Maui_Grid_GridColumnHeaderCell_Title">Title</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the title of the column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_TitleAlignment" data-uid="C1.Maui.Grid.GridColumnHeaderCell.TitleAlignment">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.TitleAlignment.html#C1_Maui_Grid_GridColumnHeaderCell_TitleAlignment">TitleAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the alignment of the title inside the cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_TitlePadding" data-uid="C1.Maui.Grid.GridColumnHeaderCell.TitlePadding">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.TitlePadding.html#C1_Maui_Grid_GridColumnHeaderCell_TitlePadding">TitlePadding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the padding of the title of the column.</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_Maui_Grid_GridColumnHeaderCell_Dispose_System_Boolean_" data-uid="C1.Maui.Grid.GridColumnHeaderCell.Dispose(System.Boolean)">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.Dispose.html#C1_Maui_Grid_GridColumnHeaderCell_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_OnFontChanged" data-uid="C1.Maui.Grid.GridColumnHeaderCell.OnFontChanged">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.OnFontChanged.html#C1_Maui_Grid_GridColumnHeaderCell_OnFontChanged">OnFontChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when any of the font properties changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Grid_GridColumnHeaderCell_OnOutlineTapped_C1_Maui_Grid_GridOutlineEventArgs_" data-uid="C1.Maui.Grid.GridColumnHeaderCell.OnOutlineTapped(C1.Maui.Grid.GridOutlineEventArgs)">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.OnOutlineTapped.html#C1_Maui_Grid_GridColumnHeaderCell_OnOutlineTapped_C1_Maui_Grid_GridOutlineEventArgs_">OnOutlineTapped(GridOutlineEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <span class="xref">OutlineTapped</span> event.</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_Maui_Grid_GridColumnHeaderCell_OutlineTapped" data-uid="C1.Maui.Grid.GridColumnHeaderCell.OutlineTapped">
          <a class="xref" href="C1.Maui.Grid.GridColumnHeaderCell.OutlineTapped.html">OutlineTapped</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when any of the outlines is tapped.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
