# C1.Xamarin.Forms.Grid.GridWrapCellFactory

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Xamarin_Forms_Grid_GridWrapCellFactory" data-uid="C1.Xamarin.Forms.Grid.GridWrapCellFactory" class="text-break">GridWrapCellFactory Class
</h1>
  <div class="markdown level0 summary"><p>This cell factory can be used to add features over an existing cell factory, for scenarios where inheriting is not allowed.</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.Xamarin.Forms.Grid.GridCellFactoryBase.html">GridCellFactoryBase</a></div>
    <div class="level2"><a class="xref" href="C1.Xamarin.Forms.Grid.GridCellFactory.html">GridCellFactory</a></div>
    <div class="level3"><span class="xref">GridWrapCellFactory</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Xamarin.Forms.Grid.html">C1.Xamarin.Forms.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.Xamarin.Forms.Grid.dll</h6>
  <h5 id="C1_Xamarin_Forms_Grid_GridWrapCellFactory_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GridWrapCellFactory : GridCellFactory</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_Xamarin_Forms_Grid_GridWrapCellFactory__ctor_C1_Xamarin_Forms_Grid_GridCellFactory_" data-uid="C1.Xamarin.Forms.Grid.GridWrapCellFactory.#ctor(C1.Xamarin.Forms.Grid.GridCellFactory)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridWrapCellFactory.-ctor.html#C1_Xamarin_Forms_Grid_GridWrapCellFactory__ctor_C1_Xamarin_Forms_Grid_GridCellFactory_">GridWrapCellFactory(GridCellFactory)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Xamarin.Forms.Grid.GridWrapCellFactory.html">GridWrapCellFactory</a> class.</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_Xamarin_Forms_Grid_GridWrapCellFactory_Grid" data-uid="C1.Xamarin.Forms.Grid.GridWrapCellFactory.Grid">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridWrapCellFactory.Grid.html#C1_Xamarin_Forms_Grid_GridWrapCellFactory_Grid">Grid</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the associated grid.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridWrapCellFactory_InnerFactory" data-uid="C1.Xamarin.Forms.Grid.GridWrapCellFactory.InnerFactory">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridWrapCellFactory.InnerFactory.html#C1_Xamarin_Forms_Grid_GridWrapCellFactory_InnerFactory">InnerFactory</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the inner cell factory.</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_Xamarin_Forms_Grid_GridWrapCellFactory_AllowEditing_C1_Xamarin_Forms_Grid_GridCellRange_" data-uid="C1.Xamarin.Forms.Grid.GridWrapCellFactory.AllowEditing(C1.Xamarin.Forms.Grid.GridCellRange)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridWrapCellFactory.AllowEditing.html#C1_Xamarin_Forms_Grid_GridWrapCellFactory_AllowEditing_C1_Xamarin_Forms_Grid_GridCellRange_">AllowEditing(GridCellRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true when the cell in the specified range can be edited.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridWrapCellFactory_BindCellContent_C1_Xamarin_Forms_Grid_GridCellType_C1_Xamarin_Forms_Grid_GridCellRange_Xamarin_Forms_View_" data-uid="C1.Xamarin.Forms.Grid.GridWrapCellFactory.BindCellContent(C1.Xamarin.Forms.Grid.GridCellType,C1.Xamarin.Forms.Grid.GridCellRange,Xamarin.Forms.View)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridWrapCellFactory.BindCellContent.html#C1_Xamarin_Forms_Grid_GridWrapCellFactory_BindCellContent_C1_Xamarin_Forms_Grid_GridCellType_C1_Xamarin_Forms_Grid_GridCellRange_Xamarin_Forms_View_">BindCellContent(GridCellType, GridCellRange, View)</a>
        </td>
        <td class="markdown level1 summary"><p>Binds the content of the cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridWrapCellFactory_Contains_C1_Xamarin_Forms_Grid_GridCellFactoryBase_" data-uid="C1.Xamarin.Forms.Grid.GridWrapCellFactory.Contains(C1.Xamarin.Forms.Grid.GridCellFactoryBase)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridWrapCellFactory.Contains.html#C1_Xamarin_Forms_Grid_GridWrapCellFactory_Contains_C1_Xamarin_Forms_Grid_GridCellFactoryBase_">Contains(GridCellFactoryBase)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if the specified <code class="paramref">cellFactory</code> is the same instance as this or if it is one of the nested cell factories.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridWrapCellFactory_CreateCellContent_C1_Xamarin_Forms_Grid_GridCellType_C1_Xamarin_Forms_Grid_GridCellRange_System_Object_" data-uid="C1.Xamarin.Forms.Grid.GridWrapCellFactory.CreateCellContent(C1.Xamarin.Forms.Grid.GridCellType,C1.Xamarin.Forms.Grid.GridCellRange,System.Object)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridWrapCellFactory.CreateCellContent.html#C1_Xamarin_Forms_Grid_GridWrapCellFactory_CreateCellContent_C1_Xamarin_Forms_Grid_GridCellType_C1_Xamarin_Forms_Grid_GridCellRange_System_Object_">CreateCellContent(GridCellType, GridCellRange, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the content of the cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridWrapCellFactory_CreateCellEditor_C1_Xamarin_Forms_Grid_GridCellRange_" data-uid="C1.Xamarin.Forms.Grid.GridWrapCellFactory.CreateCellEditor(C1.Xamarin.Forms.Grid.GridCellRange)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridWrapCellFactory.CreateCellEditor.html#C1_Xamarin_Forms_Grid_GridWrapCellFactory_CreateCellEditor_C1_Xamarin_Forms_Grid_GridCellRange_">CreateCellEditor(GridCellRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the cell editor.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridWrapCellFactory_GetCellContentType_C1_Xamarin_Forms_Grid_GridCellType_C1_Xamarin_Forms_Grid_GridCellRange_" data-uid="C1.Xamarin.Forms.Grid.GridWrapCellFactory.GetCellContentType(C1.Xamarin.Forms.Grid.GridCellType,C1.Xamarin.Forms.Grid.GridCellRange)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridWrapCellFactory.GetCellContentType.html#C1_Xamarin_Forms_Grid_GridWrapCellFactory_GetCellContentType_C1_Xamarin_Forms_Grid_GridCellType_C1_Xamarin_Forms_Grid_GridCellRange_">GetCellContentType(GridCellType, GridCellRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a key that defines the type of cell content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridWrapCellFactory_OnEditEnded_C1_Xamarin_Forms_Grid_GridCellRange_Xamarin_Forms_View_System_Boolean_" data-uid="C1.Xamarin.Forms.Grid.GridWrapCellFactory.OnEditEnded(C1.Xamarin.Forms.Grid.GridCellRange,Xamarin.Forms.View,System.Boolean)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridWrapCellFactory.OnEditEnded.html#C1_Xamarin_Forms_Grid_GridWrapCellFactory_OnEditEnded_C1_Xamarin_Forms_Grid_GridCellRange_Xamarin_Forms_View_System_Boolean_">OnEditEnded(GridCellRange, View, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the editing of a cell ended.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridWrapCellFactory_PrepareCell_C1_Xamarin_Forms_Grid_GridCellType_C1_Xamarin_Forms_Grid_GridCellRange_C1_Xamarin_Forms_Grid_GridCellView_" data-uid="C1.Xamarin.Forms.Grid.GridWrapCellFactory.PrepareCell(C1.Xamarin.Forms.Grid.GridCellType,C1.Xamarin.Forms.Grid.GridCellRange,C1.Xamarin.Forms.Grid.GridCellView)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridWrapCellFactory.PrepareCell.html#C1_Xamarin_Forms_Grid_GridWrapCellFactory_PrepareCell_C1_Xamarin_Forms_Grid_GridCellType_C1_Xamarin_Forms_Grid_GridCellRange_C1_Xamarin_Forms_Grid_GridCellView_">PrepareCell(GridCellType, GridCellRange, GridCellView)</a>
        </td>
        <td class="markdown level1 summary"><p>Prepares the cell to be shown.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Grid_GridWrapCellFactory_UnbindCellContent_C1_Xamarin_Forms_Grid_GridCellType_C1_Xamarin_Forms_Grid_GridCellRange_Xamarin_Forms_View_" data-uid="C1.Xamarin.Forms.Grid.GridWrapCellFactory.UnbindCellContent(C1.Xamarin.Forms.Grid.GridCellType,C1.Xamarin.Forms.Grid.GridCellRange,Xamarin.Forms.View)">
          <a class="xref" href="C1.Xamarin.Forms.Grid.GridWrapCellFactory.UnbindCellContent.html#C1_Xamarin_Forms_Grid_GridWrapCellFactory_UnbindCellContent_C1_Xamarin_Forms_Grid_GridCellType_C1_Xamarin_Forms_Grid_GridCellRange_Xamarin_Forms_View_">UnbindCellContent(GridCellType, GridCellRange, View)</a>
        </td>
        <td class="markdown level1 summary"><p>Unbinds the content of the cell.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
