# C1.Win.FlexGrid.Row.Height

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_Row_Height_" data-uid="C1.Win.FlexGrid.Row.Height*">Height Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_Row_Height_" data-uid="C1.Win.FlexGrid.Row.Height*"></a>
<h4 id="C1_Win_FlexGrid_Row_Height" data-uid="C1.Win.FlexGrid.Row.Height">Height</h4>
<div class="markdown level1 summary"><p>Gets or sets the height of this row, in pixels (the value -1 represents the default row height).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int Height { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Height As Integer</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_Row_Height_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Setting this property to -1 causes the grid to use the default row height for this row
(see the <a class="xref" href="C1.Win.FlexGrid.RowColCollection.DefaultSize.html#C1_Win_FlexGrid_RowColCollection_DefaultSize">DefaultSize</a> property).</p>
<p>Height returns the height assigned to the row even if the row is invisible, and returns -1 
if the row has the default height. To obtain the actual display height of a row, use the 
<a class="xref" href="C1.Win.FlexGrid.Row.HeightDisplay.html#C1_Win_FlexGrid_Row_HeightDisplay">HeightDisplay</a> property.</p>
</div>
</div>
