# C1.Win.FlexGrid.Column.StarWidth

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_Column_StarWidth_" data-uid="C1.Win.FlexGrid.Column.StarWidth*">StarWidth Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_Column_StarWidth_" data-uid="C1.Win.FlexGrid.Column.StarWidth*"></a>
<h4 id="C1_Win_FlexGrid_Column_StarWidth" data-uid="C1.Win.FlexGrid.Column.StarWidth">StarWidth</h4>
<div class="markdown level1 summary"><p>Gets or sets a column's star-size, expressed in the format '{number}*'.</p>
<p>Star-sizing option performs a XAML-style dynamic sizing where column
widths are proportional to the number before the star. For example, if
a grid has three columns with widths &quot;100&quot;, &quot;<em>&quot;, and &quot;3</em>&quot;, the first column
will be 100 pixels wide, the second will take up 1/4th of the remaining
space, and the last will take up the remaining 3/4ths of the remaining space.</p>
<p>Star-sizing allows you to define columns that automatically stretch to fill
the width available. For example, set the width of the last column to &quot;*&quot;
and it will automatically extend to fill the entire grid width so there's
no empty space.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string StarWidth { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property StarWidth As String</code></pre>
</div>
</div>
