# C1.WPF.Grid.TransposedGridCellFactory

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Grid_TransposedGridCellFactory" data-uid="C1.WPF.Grid.TransposedGridCellFactory" class="text-break">TransposedGridCellFactory Class
</h1>
  <div class="markdown level0 summary"><p>This cell-factory switches the columns and rows so the data-items are shown as columns.</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.WPF.Grid.GridCellFactory.html">GridCellFactory</a></div>
    <div class="level2"><a class="xref" href="C1.WPF.Grid.GridLinkedCellFactory.html">GridLinkedCellFactory</a></div>
    <div class="level3"><span class="xref">TransposedGridCellFactory</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Grid.html">C1.WPF.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Grid.dll</h6>
  <h5 id="C1_WPF_Grid_TransposedGridCellFactory_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TransposedGridCellFactory : GridLinkedCellFactory</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TransposedGridCellFactory
    Inherits GridLinkedCellFactory</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_Grid_TransposedGridCellFactory__ctor" data-uid="C1.WPF.Grid.TransposedGridCellFactory.#ctor">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.-ctor.html#C1_WPF_Grid_TransposedGridCellFactory__ctor">TransposedGridCellFactory()</a>
        </td>
        <td class="markdown level1 summary"></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_Grid_TransposedGridCellFactory_CellsColumnsCount" data-uid="C1.WPF.Grid.TransposedGridCellFactory.CellsColumnsCount">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.CellsColumnsCount.html#C1_WPF_Grid_TransposedGridCellFactory_CellsColumnsCount">CellsColumnsCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of columns belonging to the cells area.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_CellsRowsCount" data-uid="C1.WPF.Grid.TransposedGridCellFactory.CellsRowsCount">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.CellsRowsCount.html#C1_WPF_Grid_TransposedGridCellFactory_CellsRowsCount">CellsRowsCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of rows belonging to the cells area.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_ColumnFooterRowsCount" data-uid="C1.WPF.Grid.TransposedGridCellFactory.ColumnFooterRowsCount">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.ColumnFooterRowsCount.html#C1_WPF_Grid_TransposedGridCellFactory_ColumnFooterRowsCount">ColumnFooterRowsCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of rows belonging to the column footers area.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_ColumnHeaderRowsCount" data-uid="C1.WPF.Grid.TransposedGridCellFactory.ColumnHeaderRowsCount">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.ColumnHeaderRowsCount.html#C1_WPF_Grid_TransposedGridCellFactory_ColumnHeaderRowsCount">ColumnHeaderRowsCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of rows belonging to the column headers area.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_RowHeaderColumnsCount" data-uid="C1.WPF.Grid.TransposedGridCellFactory.RowHeaderColumnsCount">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.RowHeaderColumnsCount.html#C1_WPF_Grid_TransposedGridCellFactory_RowHeaderColumnsCount">RowHeaderColumnsCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of columns belonging to the row headers area.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_SelectionMode" data-uid="C1.WPF.Grid.TransposedGridCellFactory.SelectionMode">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.SelectionMode.html#C1_WPF_Grid_TransposedGridCellFactory_SelectionMode">SelectionMode</a>
        </td>
        <td class="markdown level1 summary"></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_Grid_TransposedGridCellFactory_AllowCustomCell_C1_WPF_Grid_GridCellType_C1_WPF_Grid_GridCellRange_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.AllowCustomCell(C1.WPF.Grid.GridCellType,C1.WPF.Grid.GridCellRange)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.AllowCustomCell.html#C1_WPF_Grid_TransposedGridCellFactory_AllowCustomCell_C1_WPF_Grid_GridCellType_C1_WPF_Grid_GridCellRange_">AllowCustomCell(GridCellType, GridCellRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether custom cells are allowed for the specified range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_CanDragColumn_C1_WPF_Grid_GridRowColType_System_Int32_C1_WPF_Grid_GridRowColType_System_Int32_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.CanDragColumn(C1.WPF.Grid.GridRowColType,System.Int32,C1.WPF.Grid.GridRowColType,System.Int32)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.CanDragColumn.html#C1_WPF_Grid_TransposedGridCellFactory_CanDragColumn_C1_WPF_Grid_GridRowColType_System_Int32_C1_WPF_Grid_GridRowColType_System_Int32_">CanDragColumn(GridRowColType, int, GridRowColType, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the column can be drag.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_CanDragRow_C1_WPF_Grid_GridRowColType_System_Int32_C1_WPF_Grid_GridRowColType_System_Int32_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.CanDragRow(C1.WPF.Grid.GridRowColType,System.Int32,C1.WPF.Grid.GridRowColType,System.Int32)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.CanDragRow.html#C1_WPF_Grid_TransposedGridCellFactory_CanDragRow_C1_WPF_Grid_GridRowColType_System_Int32_C1_WPF_Grid_GridRowColType_System_Int32_">CanDragRow(GridRowColType, int, GridRowColType, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the row can be drag.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_CanDropColumn_C1_WPF_Grid_GridRowColType_System_Int32_System_Int32_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.CanDropColumn(C1.WPF.Grid.GridRowColType,System.Int32,System.Int32)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.CanDropColumn.html#C1_WPF_Grid_TransposedGridCellFactory_CanDropColumn_C1_WPF_Grid_GridRowColType_System_Int32_System_Int32_">CanDropColumn(GridRowColType, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether a column can be dragged to the specified position.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_CanDropRow_C1_WPF_Grid_GridRowColType_System_Int32_System_Int32_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.CanDropRow(C1.WPF.Grid.GridRowColType,System.Int32,System.Int32)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.CanDropRow.html#C1_WPF_Grid_TransposedGridCellFactory_CanDropRow_C1_WPF_Grid_GridRowColType_System_Int32_System_Int32_">CanDropRow(GridRowColType, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether a row can be dragged to the specified position.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_CanSetColumnWidth_C1_WPF_Grid_GridRowColType_System_Int32_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.CanSetColumnWidth(C1.WPF.Grid.GridRowColType,System.Int32)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.CanSetColumnWidth.html#C1_WPF_Grid_TransposedGridCellFactory_CanSetColumnWidth_C1_WPF_Grid_GridRowColType_System_Int32_">CanSetColumnWidth(GridRowColType, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the with of a column can be set.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_CanSetRowHeight_C1_WPF_Grid_GridRowColType_System_Int32_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.CanSetRowHeight(C1.WPF.Grid.GridRowColType,System.Int32)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.CanSetRowHeight.html#C1_WPF_Grid_TransposedGridCellFactory_CanSetRowHeight_C1_WPF_Grid_GridRowColType_System_Int32_">CanSetRowHeight(GridRowColType, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the height of the row can be set.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_DropColumnAsync_C1_WPF_Grid_GridRowColType_System_Int32_System_Int32_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.DropColumnAsync(C1.WPF.Grid.GridRowColType,System.Int32,System.Int32)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.DropColumnAsync.html#C1_WPF_Grid_TransposedGridCellFactory_DropColumnAsync_C1_WPF_Grid_GridRowColType_System_Int32_System_Int32_">DropColumnAsync(GridRowColType, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Drops the column from the original index <code class="paramref">from</code> to the index <code class="paramref">to</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_DropRowAsync_C1_WPF_Grid_GridRowColType_System_Int32_System_Int32_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.DropRowAsync(C1.WPF.Grid.GridRowColType,System.Int32,System.Int32)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.DropRowAsync.html#C1_WPF_Grid_TransposedGridCellFactory_DropRowAsync_C1_WPF_Grid_GridRowColType_System_Int32_System_Int32_">DropRowAsync(GridRowColType, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Drops the row from the original index <code class="paramref">from</code> to the index <code class="paramref">to</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_GetColumnInfo_C1_WPF_Grid_GridRowColType_System_Int32_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.GetColumnInfo(C1.WPF.Grid.GridRowColType,System.Int32)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.GetColumnInfo.html#C1_WPF_Grid_TransposedGridCellFactory_GetColumnInfo_C1_WPF_Grid_GridRowColType_System_Int32_">GetColumnInfo(GridRowColType, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the dimensions for the specified column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_GetRowInfo_C1_WPF_Grid_GridRowColType_System_Int32_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.GetRowInfo(C1.WPF.Grid.GridRowColType,System.Int32)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.GetRowInfo.html#C1_WPF_Grid_TransposedGridCellFactory_GetRowInfo_C1_WPF_Grid_GridRowColType_System_Int32_">GetRowInfo(GridRowColType, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the dimensions for the specified row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_OnColumnsChanged_C1_WPF_Grid_GridCellFactoryNotifyChange_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.OnColumnsChanged(C1.WPF.Grid.GridCellFactoryNotifyChange)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.OnColumnsChanged.html#C1_WPF_Grid_TransposedGridCellFactory_OnColumnsChanged_C1_WPF_Grid_GridCellFactoryNotifyChange_">OnColumnsChanged(GridCellFactoryNotifyChange)</a>
        </td>
        <td class="markdown level1 summary"><p>Notifies the cell-factory there was a change in the model columns.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_OnColumnsChanging_C1_WPF_Grid_GridCellFactoryNotifyChange_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.OnColumnsChanging(C1.WPF.Grid.GridCellFactoryNotifyChange)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.OnColumnsChanging.html#C1_WPF_Grid_TransposedGridCellFactory_OnColumnsChanging_C1_WPF_Grid_GridCellFactoryNotifyChange_">OnColumnsChanging(GridCellFactoryNotifyChange)</a>
        </td>
        <td class="markdown level1 summary"><p>Notifies the cell-factory there will be changed in the model columns.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_OnRowsChanged_C1_WPF_Grid_GridCellFactoryNotifyChange_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.OnRowsChanged(C1.WPF.Grid.GridCellFactoryNotifyChange)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.OnRowsChanged.html#C1_WPF_Grid_TransposedGridCellFactory_OnRowsChanged_C1_WPF_Grid_GridCellFactoryNotifyChange_">OnRowsChanged(GridCellFactoryNotifyChange)</a>
        </td>
        <td class="markdown level1 summary"><p>Notifies the cell-factory there was a change in the model rows.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_TransposedGridCellFactory_OnRowsChanging_C1_WPF_Grid_GridCellFactoryNotifyChange_" data-uid="C1.WPF.Grid.TransposedGridCellFactory.OnRowsChanging(C1.WPF.Grid.GridCellFactoryNotifyChange)">
          <a class="xref" href="C1.WPF.Grid.TransposedGridCellFactory.OnRowsChanging.html#C1_WPF_Grid_TransposedGridCellFactory_OnRowsChanging_C1_WPF_Grid_GridCellFactoryNotifyChange_">OnRowsChanging(GridCellFactoryNotifyChange)</a>
        </td>
        <td class="markdown level1 summary"><p>Notifies the cell-factory there will be changed in the model rows.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
