# C1.WPF.Grid.GridControlRange

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Grid_GridControlRange" data-uid="C1.WPF.Grid.GridControlRange" class="text-break">GridControlRange Class
</h1>
  <div class="markdown level0 summary"><p>Represents a range of cells</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">GridControlRange</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.GridControl.dll</h6>
  <h5 id="C1_WPF_Grid_GridControlRange_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GridControlRange</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GridControlRange</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_GridControlRange__ctor_C1_WPF_Grid_GridControlRange_" data-uid="C1.WPF.Grid.GridControlRange.#ctor(C1.WPF.Grid.GridControlRange)">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.-ctor.html#C1_WPF_Grid_GridControlRange__ctor_C1_WPF_Grid_GridControlRange_">GridControlRange(GridControlRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="C1.WPF.Grid.GridControlRange.html">GridControlRange</a> from another range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange__ctor_System_Int32_System_Int32_" data-uid="C1.WPF.Grid.GridControlRange.#ctor(System.Int32,System.Int32)">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.-ctor.html#C1_WPF_Grid_GridControlRange__ctor_System_Int32_System_Int32_">GridControlRange(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="C1.WPF.Grid.GridControlRange.html">GridControlRange</a> from a single cell specified by <code class="paramref">row</code> and <code class="paramref">column</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange__ctor_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.WPF.Grid.GridControlRange.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.-ctor.html#C1_WPF_Grid_GridControlRange__ctor_System_Int32_System_Int32_System_Int32_System_Int32_">GridControlRange(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="C1.WPF.Grid.GridControlRange.html">GridControlRange</a>.</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_Grid_GridControlRange_Cells" data-uid="C1.WPF.Grid.GridControlRange.Cells">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.Cells.html#C1_WPF_Grid_GridControlRange_Cells">Cells</a>
        </td>
        <td class="markdown level1 summary"><p>Gets all the cells in the range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_Column" data-uid="C1.WPF.Grid.GridControlRange.Column">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.Column.html#C1_WPF_Grid_GridControlRange_Column">Column</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the starting column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_Columns" data-uid="C1.WPF.Grid.GridControlRange.Columns">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.Columns.html#C1_WPF_Grid_GridControlRange_Columns">Columns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the indexes of the contained columns.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_ColumnsCount" data-uid="C1.WPF.Grid.GridControlRange.ColumnsCount">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.ColumnsCount.html#C1_WPF_Grid_GridControlRange_ColumnsCount">ColumnsCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of columns.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_Empty" data-uid="C1.WPF.Grid.GridControlRange.Empty">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.Empty.html#C1_WPF_Grid_GridControlRange_Empty">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Empty range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_IsEmpty" data-uid="C1.WPF.Grid.GridControlRange.IsEmpty">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.IsEmpty.html#C1_WPF_Grid_GridControlRange_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <code>true</code> if it is an empty range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_IsSingleCell" data-uid="C1.WPF.Grid.GridControlRange.IsSingleCell">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.IsSingleCell.html#C1_WPF_Grid_GridControlRange_IsSingleCell">IsSingleCell</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <code>true</code> if it is a single cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_IsSingleColumn" data-uid="C1.WPF.Grid.GridControlRange.IsSingleColumn">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.IsSingleColumn.html#C1_WPF_Grid_GridControlRange_IsSingleColumn">IsSingleColumn</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <code>true</code> if it is a single column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_IsSingleRow" data-uid="C1.WPF.Grid.GridControlRange.IsSingleRow">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.IsSingleRow.html#C1_WPF_Grid_GridControlRange_IsSingleRow">IsSingleRow</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <code>true</code> if it is a single row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_Row" data-uid="C1.WPF.Grid.GridControlRange.Row">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.Row.html#C1_WPF_Grid_GridControlRange_Row">Row</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the starting row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_Rows" data-uid="C1.WPF.Grid.GridControlRange.Rows">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.Rows.html#C1_WPF_Grid_GridControlRange_Rows">Rows</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the indexes of the contained rows.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_RowsCount" data-uid="C1.WPF.Grid.GridControlRange.RowsCount">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.RowsCount.html#C1_WPF_Grid_GridControlRange_RowsCount">RowsCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of rows.</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_Grid_GridControlRange_ContainsColumn_System_Int32_" data-uid="C1.WPF.Grid.GridControlRange.ContainsColumn(System.Int32)">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.ContainsColumn.html#C1_WPF_Grid_GridControlRange_ContainsColumn_System_Int32_">ContainsColumn(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <code>true</code> if this range contains the specified <code class="paramref">column</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_ContainsRow_System_Int32_" data-uid="C1.WPF.Grid.GridControlRange.ContainsRow(System.Int32)">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.ContainsRow.html#C1_WPF_Grid_GridControlRange_ContainsRow_System_Int32_">ContainsRow(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <code>true</code> if this range contains the specified <code class="paramref">row</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_Equals_System_Object_" data-uid="C1.WPF.Grid.GridControlRange.Equals(System.Object)">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.Equals.html#C1_WPF_Grid_GridControlRange_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_GetHashCode" data-uid="C1.WPF.Grid.GridControlRange.GetHashCode">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.GetHashCode.html#C1_WPF_Grid_GridControlRange_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_Intersection_C1_WPF_Grid_GridControlRange_" data-uid="C1.WPF.Grid.GridControlRange.Intersection(C1.WPF.Grid.GridControlRange)">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.Intersection.html#C1_WPF_Grid_GridControlRange_Intersection_C1_WPF_Grid_GridControlRange_">Intersection(GridControlRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the intersection between this and a specified <code class="paramref">range</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_Intersects_C1_WPF_Grid_GridControlRange_" data-uid="C1.WPF.Grid.GridControlRange.Intersects(C1.WPF.Grid.GridControlRange)">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.Intersects.html#C1_WPF_Grid_GridControlRange_Intersects_C1_WPF_Grid_GridControlRange_">Intersects(GridControlRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns <code>true</code> if this range is intersected by the specified <code class="paramref">range</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_SubstractColumns_C1_WPF_Grid_GridControlRange_" data-uid="C1.WPF.Grid.GridControlRange.SubstractColumns(C1.WPF.Grid.GridControlRange)">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.SubstractColumns.html#C1_WPF_Grid_GridControlRange_SubstractColumns_C1_WPF_Grid_GridControlRange_">SubstractColumns(GridControlRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a range after subtracting the columns of the specified <code class="paramref">range</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_SubstractRows_C1_WPF_Grid_GridControlRange_" data-uid="C1.WPF.Grid.GridControlRange.SubstractRows(C1.WPF.Grid.GridControlRange)">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.SubstractRows.html#C1_WPF_Grid_GridControlRange_SubstractRows_C1_WPF_Grid_GridControlRange_">SubstractRows(GridControlRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a range after subtracting the rows of the specified <code class="paramref">range</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_ToString" data-uid="C1.WPF.Grid.GridControlRange.ToString">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.ToString.html#C1_WPF_Grid_GridControlRange_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_Union_C1_WPF_Grid_GridControlRange_" data-uid="C1.WPF.Grid.GridControlRange.Union(C1.WPF.Grid.GridControlRange)">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.Union.html#C1_WPF_Grid_GridControlRange_Union_C1_WPF_Grid_GridControlRange_">Union(GridControlRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a range that is the union of both ranges.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</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_GridControlRange_op_Equality_C1_WPF_Grid_GridControlRange_C1_WPF_Grid_GridControlRange_" data-uid="C1.WPF.Grid.GridControlRange.op_Equality(C1.WPF.Grid.GridControlRange,C1.WPF.Grid.GridControlRange)">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.op_Equality.html#C1_WPF_Grid_GridControlRange_op_Equality_C1_WPF_Grid_GridControlRange_C1_WPF_Grid_GridControlRange_">operator ==(GridControlRange, GridControlRange)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlRange_op_Inequality_C1_WPF_Grid_GridControlRange_C1_WPF_Grid_GridControlRange_" data-uid="C1.WPF.Grid.GridControlRange.op_Inequality(C1.WPF.Grid.GridControlRange,C1.WPF.Grid.GridControlRange)">
          <a class="xref" href="C1.WPF.Grid.GridControlRange.op_Inequality.html#C1_WPF_Grid_GridControlRange_op_Inequality_C1_WPF_Grid_GridControlRange_C1_WPF_Grid_GridControlRange_">operator !=(GridControlRange, GridControlRange)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
