# C1.WPF.Pivot.FlexPivotGrid

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Pivot_FlexPivotGrid" data-uid="C1.WPF.Pivot.FlexPivotGrid" class="text-break">FlexPivotGrid Class
</h1>
  <div class="markdown level0 summary"><p>Custom grid control for visualizing FlexPivot data.</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">FlexPivotGrid</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Pivot.html">C1.WPF.Pivot</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Pivot.dll</h6>
  <h5 id="C1_WPF_Pivot_FlexPivotGrid_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FlexPivotGrid : FlexGrid</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FlexPivotGrid
    Inherits FlexGrid</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_Pivot_FlexPivotGrid__ctor" data-uid="C1.WPF.Pivot.FlexPivotGrid.#ctor">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.-ctor.html#C1_WPF_Pivot_FlexPivotGrid__ctor">FlexPivotGrid()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.html">FlexPivotGrid</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_Pivot_FlexPivotGrid_CollapsibleSubtotalsProperty" data-uid="C1.WPF.Pivot.FlexPivotGrid.CollapsibleSubtotalsProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.CollapsibleSubtotalsProperty.html">CollapsibleSubtotalsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.CollapsibleSubtotals.html#C1_WPF_Pivot_FlexPivotGrid_CollapsibleSubtotals">CollapsibleSubtotals</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_ItemsSourceProperty" data-uid="C1.WPF.Pivot.FlexPivotGrid.ItemsSourceProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.ItemsSourceProperty.html">ItemsSourceProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.ItemsSource.html#C1_WPF_Pivot_FlexPivotGrid_ItemsSource">ItemsSource</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_ShowDetailOnRightClickProperty" data-uid="C1.WPF.Pivot.FlexPivotGrid.ShowDetailOnRightClickProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.ShowDetailOnRightClickProperty.html">ShowDetailOnRightClickProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.ShowDetailOnRightClick.html#C1_WPF_Pivot_FlexPivotGrid_ShowDetailOnRightClick">ShowDetailOnRightClick</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_SubtotalBackgroundProperty" data-uid="C1.WPF.Pivot.FlexPivotGrid.SubtotalBackgroundProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.SubtotalBackgroundProperty.html">SubtotalBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.SubtotalBackground.html#C1_WPF_Pivot_FlexPivotGrid_SubtotalBackground">SubtotalBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_ThemeResourcesProperty" data-uid="C1.WPF.Pivot.FlexPivotGrid.ThemeResourcesProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.ThemeResourcesProperty.html">ThemeResourcesProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.ThemeResources.html#C1_WPF_Pivot_FlexPivotGrid_ThemeResources">ThemeResources</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_Pivot_FlexPivotGrid_CollapsibleSubtotals" data-uid="C1.WPF.Pivot.FlexPivotGrid.CollapsibleSubtotals">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.CollapsibleSubtotals.html#C1_WPF_Pivot_FlexPivotGrid_CollapsibleSubtotals">CollapsibleSubtotals</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the grid should allow users to collapse and expand subtotal groups.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_ItemsSource" data-uid="C1.WPF.Pivot.FlexPivotGrid.ItemsSource">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.ItemsSource.html#C1_WPF_Pivot_FlexPivotGrid_ItemsSource">ItemsSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.WPF.Pivot.FlexPivotPanel.html">FlexPivotPanel</a> that provides data for this grid.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_ShowDetailOnRightClick" data-uid="C1.WPF.Pivot.FlexPivotGrid.ShowDetailOnRightClick">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.ShowDetailOnRightClick.html#C1_WPF_Pivot_FlexPivotGrid_ShowDetailOnRightClick">ShowDetailOnRightClick</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the grid should show a popup containing the detail records when the user right-clicks a cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_SubtotalBackground" data-uid="C1.WPF.Pivot.FlexPivotGrid.SubtotalBackground">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.SubtotalBackground.html#C1_WPF_Pivot_FlexPivotGrid_SubtotalBackground">SubtotalBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush used to paint the background of cells that contain totals.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_ThemeResources" data-uid="C1.WPF.Pivot.FlexPivotGrid.ThemeResources">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.ThemeResources.html#C1_WPF_Pivot_FlexPivotGrid_ThemeResources">ThemeResources</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.resourcedictionary">ResourceDictionary</a> defining theme resources to use in dialogs.</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_Pivot_FlexPivotGrid_CollapseAllCols" data-uid="C1.WPF.Pivot.FlexPivotGrid.CollapseAllCols">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.CollapseAllCols.html#C1_WPF_Pivot_FlexPivotGrid_CollapseAllCols">CollapseAllCols()</a>
        </td>
        <td class="markdown level1 summary"><p>Collapse all the columns of subtotal groups.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_CollapseAllRows" data-uid="C1.WPF.Pivot.FlexPivotGrid.CollapseAllRows">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.CollapseAllRows.html#C1_WPF_Pivot_FlexPivotGrid_CollapseAllRows">CollapseAllRows()</a>
        </td>
        <td class="markdown level1 summary"><p>Collapse all the rows of subtotal groups.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_Dispose_System_Boolean_" data-uid="C1.WPF.Pivot.FlexPivotGrid.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.Dispose.html#C1_WPF_Pivot_FlexPivotGrid_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_ExpandAllCols" data-uid="C1.WPF.Pivot.FlexPivotGrid.ExpandAllCols">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.ExpandAllCols.html#C1_WPF_Pivot_FlexPivotGrid_ExpandAllCols">ExpandAllCols()</a>
        </td>
        <td class="markdown level1 summary"><p>Expand all the columns of subtotal groups.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_ExpandAllRows" data-uid="C1.WPF.Pivot.FlexPivotGrid.ExpandAllRows">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.ExpandAllRows.html#C1_WPF_Pivot_FlexPivotGrid_ExpandAllRows">ExpandAllRows()</a>
        </td>
        <td class="markdown level1 summary"><p>Expand all the rows of subtotal groups.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_OnApplyTemplate" data-uid="C1.WPF.Pivot.FlexPivotGrid.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.OnApplyTemplate.html#C1_WPF_Pivot_FlexPivotGrid_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_ShowDetail_System_Int32_System_Int32_" data-uid="C1.WPF.Pivot.FlexPivotGrid.ShowDetail(System.Int32,System.Int32)">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.ShowDetail.html#C1_WPF_Pivot_FlexPivotGrid_ShowDetail_System_Int32_System_Int32_">ShowDetail(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Shows a modal dialog containing the detail information that defines the content
of a specific cell in the grid.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_SortColumns_System_Collections_Generic_IComparer_C1_WPF_Grid_GridColumn__" data-uid="C1.WPF.Pivot.FlexPivotGrid.SortColumns(System.Collections.Generic.IComparer{C1.WPF.Grid.GridColumn})">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.SortColumns.html#C1_WPF_Pivot_FlexPivotGrid_SortColumns_System_Collections_Generic_IComparer_C1_WPF_Grid_GridColumn__">SortColumns(IComparer&lt;GridColumn&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Sort all the columns by custom order.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_SortRows_System_Collections_Generic_IComparer_C1_WPF_Grid_GridRow__" data-uid="C1.WPF.Pivot.FlexPivotGrid.SortRows(System.Collections.Generic.IComparer{C1.WPF.Grid.GridRow})">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.SortRows.html#C1_WPF_Pivot_FlexPivotGrid_SortRows_System_Collections_Generic_IComparer_C1_WPF_Grid_GridRow__">SortRows(IComparer&lt;GridRow&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Sort all the rows by custom order.</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_Pivot_FlexPivotGrid_Collapsed" data-uid="C1.WPF.Pivot.FlexPivotGrid.Collapsed">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.Collapsed.html">Collapsed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after collapse rows or columns of subtotal groups.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotGrid_Expaned" data-uid="C1.WPF.Pivot.FlexPivotGrid.Expaned">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotGrid.Expaned.html">Expaned</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after expand rows or columns of subtotal groups.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
