# C1.C1Preview.UserCellGroup

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_UserCellGroup" data-uid="C1.C1Preview.UserCellGroup" class="text-break">UserCellGroup Class
</h1>
  <div class="markdown level0 summary"><p>Represents a (possibly sparse) user-defined group of cells
(objects of type <a class="xref" href="C1.C1Preview.TableCell.html">TableCell</a>) in a <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.</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">UserCellGroup</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.C1Preview.IStyleOwner.html">IStyleOwner</a></div>
    <div><a class="xref" href="C1.C1Preview.IDocumentLocation.html">IDocumentLocation</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.10.dll</h6>
  <h5 id="C1_C1Preview_UserCellGroup_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[C1ClassSerialization(true)]
public class UserCellGroup : IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;C1ClassSerialization(True)&gt;
Public Class UserCellGroup
    Implements IStyleOwner, IDocumentLocation</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_C1Preview_UserCellGroup__ctor_System_Drawing_Point_" data-uid="C1.C1Preview.UserCellGroup.#ctor(System.Drawing.Point)">
          <a class="xref" href="C1.C1Preview.UserCellGroup.-ctor.html#C1_C1Preview_UserCellGroup__ctor_System_Drawing_Point_">UserCellGroup(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.UserCellGroup.html">UserCellGroup</a> class,
includes a single cell identified by its coordinates, in the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UserCellGroup__ctor_System_Drawing_Point___" data-uid="C1.C1Preview.UserCellGroup.#ctor(System.Drawing.Point[])">
          <a class="xref" href="C1.C1Preview.UserCellGroup.-ctor.html#C1_C1Preview_UserCellGroup__ctor_System_Drawing_Point___">UserCellGroup(params Point[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.UserCellGroup.html">UserCellGroup</a> class,
includes a range of cells identified by a list of cell coordinates, in the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UserCellGroup__ctor_System_Drawing_Rectangle_" data-uid="C1.C1Preview.UserCellGroup.#ctor(System.Drawing.Rectangle)">
          <a class="xref" href="C1.C1Preview.UserCellGroup.-ctor.html#C1_C1Preview_UserCellGroup__ctor_System_Drawing_Rectangle_">UserCellGroup(Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.UserCellGroup.html">UserCellGroup</a> class,
includes a range of cells identified by a rectangular area, in the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UserCellGroup__ctor_System_Drawing_Rectangle___" data-uid="C1.C1Preview.UserCellGroup.#ctor(System.Drawing.Rectangle[])">
          <a class="xref" href="C1.C1Preview.UserCellGroup.-ctor.html#C1_C1Preview_UserCellGroup__ctor_System_Drawing_Rectangle___">UserCellGroup(params Rectangle[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.UserCellGroup.html">UserCellGroup</a> class,
includes a range of cells identified by a list of rectangular areas, in the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UserCellGroup__ctor_System_Object___" data-uid="C1.C1Preview.UserCellGroup.#ctor(System.Object[])">
          <a class="xref" href="C1.C1Preview.UserCellGroup.-ctor.html#C1_C1Preview_UserCellGroup__ctor_System_Object___">UserCellGroup(params object[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.UserCellGroup.html">UserCellGroup</a> class,
includes a range of cells identified by a list of rectangular areas or individual cell coordnates, in the group.</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_C1Preview_UserCellGroup_CellStyle" data-uid="C1.C1Preview.UserCellGroup.CellStyle">
          <a class="xref" href="C1.C1Preview.UserCellGroup.CellStyle.html#C1_C1Preview_UserCellGroup_CellStyle">CellStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.Style.html">Style</a> of objects contained in the cells
of the current cell group.
See <a class="xref" href="C1.C1Preview.TableCell.CellStyle.html#C1_C1Preview_TableCell_CellStyle">CellStyle</a> for details.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UserCellGroup_Owner" data-uid="C1.C1Preview.UserCellGroup.Owner">
          <a class="xref" href="C1.C1Preview.UserCellGroup.Owner.html#C1_C1Preview_UserCellGroup_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.UserCellGroupCollection.html">UserCellGroupCollection</a> containing the current cell group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UserCellGroup_Ranges" data-uid="C1.C1Preview.UserCellGroup.Ranges">
          <a class="xref" href="C1.C1Preview.UserCellGroup.Ranges.html#C1_C1Preview_UserCellGroup_Ranges">Ranges</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an array of <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a> structures identifying all cells
included in the current group.
For details, <a class="xref" href="C1.C1Preview.UserCellGroup.-ctor.html#C1_C1Preview_UserCellGroup__ctor_System_Drawing_Rectangle_">UserCellGroup(Rectangle)</a>
(lone cells are represented by rectangles with both dimensions set to <b>1</b>).</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UserCellGroup_Style" data-uid="C1.C1Preview.UserCellGroup.Style">
          <a class="xref" href="C1.C1Preview.UserCellGroup.Style.html#C1_C1Preview_UserCellGroup_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.Style.html">Style</a> of the current cell group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UserCellGroup_Table" data-uid="C1.C1Preview.UserCellGroup.Table">
          <a class="xref" href="C1.C1Preview.UserCellGroup.Table.html#C1_C1Preview_UserCellGroup_Table">Table</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a> containing the current cell group.</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_C1Preview_UserCellGroup_AssignFrom_C1_C1Preview_UserCellGroup_" data-uid="C1.C1Preview.UserCellGroup.AssignFrom(C1.C1Preview.UserCellGroup)">
          <a class="xref" href="C1.C1Preview.UserCellGroup.AssignFrom.html#C1_C1Preview_UserCellGroup_AssignFrom_C1_C1Preview_UserCellGroup_">AssignFrom(UserCellGroup)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.C1Preview.UserCellGroup.html">UserCellGroup</a> to the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UserCellGroup_ContainsCell_System_Int32_System_Int32_" data-uid="C1.C1Preview.UserCellGroup.ContainsCell(System.Int32,System.Int32)">
          <a class="xref" href="C1.C1Preview.UserCellGroup.ContainsCell.html#C1_C1Preview_UserCellGroup_ContainsCell_System_Int32_System_Int32_">ContainsCell(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Tests whether the current cell group contains a cell with the specified row and column indices.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UserCellGroup_ShouldSerializeCellStyle" data-uid="C1.C1Preview.UserCellGroup.ShouldSerializeCellStyle">
          <a class="xref" href="C1.C1Preview.UserCellGroup.ShouldSerializeCellStyle.html#C1_C1Preview_UserCellGroup_ShouldSerializeCellStyle">ShouldSerializeCellStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.C1Preview.UserCellGroup.CellStyle.html#C1_C1Preview_UserCellGroup_CellStyle">CellStyle</a> property should be serialized.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_UserCellGroup_ShouldSerializeStyle" data-uid="C1.C1Preview.UserCellGroup.ShouldSerializeStyle">
          <a class="xref" href="C1.C1Preview.UserCellGroup.ShouldSerializeStyle.html#C1_C1Preview_UserCellGroup_ShouldSerializeStyle">ShouldSerializeStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.C1Preview.UserCellGroup.Style.html#C1_C1Preview_UserCellGroup_Style">Style</a> property should be serialized.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
