# C1.WPF.Excel.XLSheet.MergedCells

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Excel_XLSheet_MergedCells_" data-uid="C1.WPF.Excel.XLSheet.MergedCells*">MergedCells Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Excel_XLSheet_MergedCells_" data-uid="C1.WPF.Excel.XLSheet.MergedCells*"></a>
<h4 id="C1_WPF_Excel_XLSheet_MergedCells" data-uid="C1.WPF.Excel.XLSheet.MergedCells">MergedCells</h4>
<div class="markdown level1 summary"><p>Gets an <a class="xref" href="C1.WPF.Excel.XLCellRangeCollection.html">XLCellRangeCollection</a> that contains the
collection of cells that are merged on the sheet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public XLCellRangeCollection MergedCells { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property MergedCells As XLCellRangeCollection</code></pre>
</div>
<h5 id="C1_WPF_Excel_XLSheet_MergedCells_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The collection has methods for inspecting, adding, or clearing merged ranges in a sheet.
Each merged range is represented by an <a class="xref" href="C1.WPF.Excel.XLCellRange.html">XLCellRange</a> object.</p>
</div>
</div>
