# GrapeCity.ActiveReports.PageReportModel.Matrix

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_Matrix" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix" class="text-break">Matrix Class
</h1>
  <div class="markdown level0 summary"><p>Represents a Matrix element that defines a grid of regions that repeats with each column group and row group in the dataset.</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="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportComponent.html">ReportComponent</a></div>
    <div class="level4"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportItem.html">ReportItem</a></div>
    <div class="level5"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.DataRegion.html">DataRegion</a></div>
    <div class="level6"><span class="xref">Matrix</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IValidateable.html">IValidateable</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IScopeDefinition.html">IScopeDefinition</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IReportComponentContainer.html">IReportComponentContainer</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IReportComponent.html">IReportComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.html">GrapeCity.ActiveReports.PageReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rdl.dll</h6>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_Matrix_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class Matrix : DataRegion, IValidateable, IScopeDefinition, IReportComponentContainer, IReportComponent, IComponent, IDisposable</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="GrapeCity_ActiveReports_PageReportModel_Matrix__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.-ctor.html#GrapeCity_ActiveReports_PageReportModel_Matrix__ctor">Matrix()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.html">Matrix</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="GrapeCity_ActiveReports_PageReportModel_Matrix_CellDataElementName" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.CellDataElementName">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.CellDataElementName.html#GrapeCity_ActiveReports_PageReportModel_Matrix_CellDataElementName">CellDataElementName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a name of the top-level XML element that represents the cell.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Matrix_CellDataElementOutput" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.CellDataElementOutput">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.CellDataElementOutput.html#GrapeCity_ActiveReports_PageReportModel_Matrix_CellDataElementOutput">CellDataElementOutput</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the item appears in a data rendering.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Matrix_ChildScopes" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.ChildScopes">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.ChildScopes.html#GrapeCity_ActiveReports_PageReportModel_Matrix_ChildScopes">ChildScopes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the child scopes for the data region.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Matrix_ColumnGroupings" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.ColumnGroupings">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.ColumnGroupings.html#GrapeCity_ActiveReports_PageReportModel_Matrix_ColumnGroupings">ColumnGroupings</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a set of column groupings for the matrix.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Matrix_Components" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.Components">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.Components.html#GrapeCity_ActiveReports_PageReportModel_Matrix_Components">Components</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportComponentCollection.html">ReportComponentCollection</a> containing all the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportComponent.html">ReportComponent</a> in the container.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Matrix_Corner" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.Corner">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.Corner.html#GrapeCity_ActiveReports_PageReportModel_Matrix_Corner">Corner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a region that contains the elements of the upper left corner area of the matrix.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Matrix_GroupsBeforeRowHeaders" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.GroupsBeforeRowHeaders">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.GroupsBeforeRowHeaders.html#GrapeCity_ActiveReports_PageReportModel_Matrix_GroupsBeforeRowHeaders">GroupsBeforeRowHeaders</a>
        </td>
        <td class="markdown level1 summary"><p>
Gets or sets a number of instances of the outermost column group that appear to the left of the row headers, right of the row headers for right-to-left matrices.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Matrix_LayoutDirection" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.LayoutDirection">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.LayoutDirection.html#GrapeCity_ActiveReports_PageReportModel_Matrix_LayoutDirection">LayoutDirection</a>
        </td>
        <td class="markdown level1 summary"><p>
Gets or sets a value indicating whether the matrix columns grow left-to-right, with headers on the left, or right-to-left, with headers on the right.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Matrix_MatrixColumns" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.MatrixColumns">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.MatrixColumns.html#GrapeCity_ActiveReports_PageReportModel_Matrix_MatrixColumns">MatrixColumns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the columns contained in each detail cell of the matrix layout.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Matrix_MatrixRows" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.MatrixRows">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.MatrixRows.html#GrapeCity_ActiveReports_PageReportModel_Matrix_MatrixRows">MatrixRows</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the rows contained in each detail cell of the matrix layout.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Matrix_ReportItemsInScope" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.ReportItemsInScope">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.ReportItemsInScope.html#GrapeCity_ActiveReports_PageReportModel_Matrix_ReportItemsInScope">ReportItemsInScope</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the report items in scope for the data region.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Matrix_RowGroupings" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.RowGroupings">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.RowGroupings.html#GrapeCity_ActiveReports_PageReportModel_Matrix_RowGroupings">RowGroupings</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a set of row groupings for the matrix.
</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="GrapeCity_ActiveReports_PageReportModel_Matrix_GetExpressions" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.GetExpressions">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.GetExpressions.html#GrapeCity_ActiveReports_PageReportModel_Matrix_GetExpressions">GetExpressions()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a list of the expressions contained by this report item.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Matrix_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_" data-uid="GrapeCity.ActiveReports.PageReportModel.Matrix.Validate(GrapeCity.ActiveReports.PageReportModel.ValidationContext)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.Validate.html#GrapeCity_ActiveReports_PageReportModel_Matrix_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_">Validate(ValidationContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Validates the current state of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.html">Matrix</a> object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.GetReportFromComponent.html#GrapeCity_ActiveReports_PageReportModel_RomUtils_GetReportFromComponent_GrapeCity_ActiveReports_PageReportModel_IReportComponent_">RomUtils.GetReportFromComponent(IReportComponent)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.GetReportSectionFromComponent.html#GrapeCity_ActiveReports_PageReportModel_RomUtils_GetReportSectionFromComponent_GrapeCity_ActiveReports_PageReportModel_IReportComponent_">RomUtils.GetReportSectionFromComponent(IReportComponent)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.CollectionExtensions.AddRange.html#GrapeCity_ActiveReports_Rdl_Tools_CollectionExtensions_AddRange__2___0_System_Collections_Generic_IEnumerable___1__">CollectionExtensions.AddRange&lt;TCollection, TItem&gt;(TCollection, IEnumerable&lt;TItem&gt;)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.ReportItemExtensions.Clone.html#GrapeCity_ActiveReports_Rdl_Tools_ReportItemExtensions_Clone__1___0_">ReportItemExtensions.Clone&lt;TItem&gt;(TItem)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.IsContentPlaceHolder.html#GrapeCity_ActiveReports_PageReportModel_RomUtils_IsContentPlaceHolder_GrapeCity_ActiveReports_PageReportModel_ReportItem_">RomUtils.IsContentPlaceHolder(ReportItem)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.ReportExtensions.GetSelfAndAllDescendants.html#GrapeCity_ActiveReports_Rdl_Tools_ReportExtensions_GetSelfAndAllDescendants_GrapeCity_ActiveReports_PageReportModel_ReportItem_">ReportExtensions.GetSelfAndAllDescendants(ReportItem)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.ReportItemExtensions.GetReportItemTypeName.html#GrapeCity_ActiveReports_Rdl_Tools_ReportItemExtensions_GetReportItemTypeName_GrapeCity_ActiveReports_PageReportModel_ReportItem_">ReportItemExtensions.GetReportItemTypeName(ReportItem)</a>
  </div>

</div>
