# C1.Win.FlexGrid.CellStyle.DefinedElements

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_CellStyle_DefinedElements_" data-uid="C1.Win.FlexGrid.CellStyle.DefinedElements*">DefinedElements Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_CellStyle_DefinedElements_" data-uid="C1.Win.FlexGrid.CellStyle.DefinedElements*"></a>
<h4 id="C1_Win_FlexGrid_CellStyle_DefinedElements" data-uid="C1.Win.FlexGrid.CellStyle.DefinedElements">DefinedElements</h4>
<div class="markdown level1 summary"><p>Gets or sets which elements are defined in this style.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public StyleElementFlags DefinedElements { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public Property DefinedElements As StyleElementFlags</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_CellStyle_DefinedElements_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Elements that are not defined in a particular style are automatically
inherited from the ancestor style (usually the <b>Normal</b> style).
For example, if you create a custom style that defines the
<a class="xref" href="C1.Win.FlexGrid.CellStyle.Font.html#C1_Win_FlexGrid_CellStyle_Font">Font</a> property, all other elements (back color,
alignment, and so on) are inherited from the ancestor style, which may
be the <b>Normal</b> style or another custom style assigned to a row or
column.</p>
</div>
</div>
