# C1.Win.FlexGrid.RowCol.Format

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_RowCol_Format_" data-uid="C1.Win.FlexGrid.RowCol.Format*">Format Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_RowCol_Format_" data-uid="C1.Win.FlexGrid.RowCol.Format*"></a>
<h4 id="C1_Win_FlexGrid_RowCol_Format" data-uid="C1.Win.FlexGrid.RowCol.Format">Format</h4>
<div class="markdown level1 summary"><p>Gets or sets a string that specifies how to format the data on this column.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string Format { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Format As String</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_RowCol_Format_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The Format property affects how values are formatted for display, not the values stored internally. 
To retrieve the formatted value of a cell, use the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.GetDataDisplay.html#C1_Win_FlexGrid_C1FlexGridBase_GetDataDisplay_System_Int32_System_Int32_">GetDataDisplay(int, int)</a> property.</p>
<p>The Format string has the same semantics as the format argument in the .NET <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string.format#system-string-format(system-iformatprovider-system-string-system-object)">Format(IFormatProvider, string, object)</a>
method. For details and a complete set of examples, see the .NET documentation.</p>
</div>
</div>
