# C1.Win.FlexGrid.StyleElementFlags

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_FlexGrid_StyleElementFlags" data-uid="C1.Win.FlexGrid.StyleElementFlags" class="text-break">StyleElementFlags Enum
</h1>
  <div class="markdown level0 summary"><p>Contains flags that specify which style elements are defined in a <a class="xref" href="C1.Win.FlexGrid.CellStyle.html">CellStyle</a> object.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexGrid.html">C1.Win.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexGrid.10.dll</h6>
  <h5 id="C1_Win_FlexGrid_StyleElementFlags_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Flags]
public enum StyleElementFlags</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Flags&gt;
Public Enum StyleElementFlags</code></pre>
  </div>
  <h5 id="C1_Win_FlexGrid_StyleElementFlags_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This enumeration can be used to inspect styles and determine which elements it defines, and it 
can also be used to clear specific elements from the style.</p>
<p>Any elements not defined in the style are inherited from the parent style.</p>
</div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_All">All</td>
        <td><p>All style elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_BackColor">BackColor</td>
        <td><p>The style defines a background color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_BackgroundImage">BackgroundImage</td>
        <td><p>The style specifies a background image.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_BackgroundImageLayout">BackgroundImageLayout</td>
        <td><p>The style specifies a background image alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_Border">Border</td>
        <td><p>The style defines borders.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_ComboList">ComboList</td>
        <td><p>The style defines a list of choices used to populate drop down editors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_DataMap">DataMap</td>
        <td><p>The style defines an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.idictionary">IDictionary</a> used to associate cell data with display values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_DataType">DataType</td>
        <td><p>The style defines the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a> of values contained in the cells.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_Display">Display</td>
        <td><p>The style defines whether to display text and/or images, in the cells.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_EditMask">EditMask</td>
        <td><p>The style defines an edit mask used to constrain values entered in the cells.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_Editor">Editor</td>
        <td><p>The style defines an external control to be used as an editor for the cells.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_Font">Font</td>
        <td><p>The style defines a font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_ForeColor">ForeColor</td>
        <td><p>The style defines a foreground color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_Format">Format</td>
        <td><p>The style defines a format string used to convert data into strings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_ImageAlign">ImageAlign</td>
        <td><p>The style defines the image alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_ImageMap">ImageMap</td>
        <td><p>The style defines an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.idictionary">IDictionary</a> used to associate cell data with images.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_ImageSpacing">ImageSpacing</td>
        <td><p>The style defines the spacing between images and text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_Margins">Margins</td>
        <td><p>The style defines margins.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_None">None</td>
        <td><p>No elements are defined.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_SearchBackColor">SearchBackColor</td>
        <td><p>The style defines a background color of found text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_TextAlign">TextAlign</td>
        <td><p>The style defines the text alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_TextDirection">TextDirection</td>
        <td><p>The style defines whether text should be rendered horizontally or vertically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_TextEffect">TextEffect</td>
        <td><p>The style defines a 3D effect for the text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_Trimming">Trimming</td>
        <td><p>The style defines how long strings are trimmed to fit within cells.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_UserData">UserData</td>
        <td><p>The style contains arbitrary user data (not used by the control).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_StyleElementFlags_WordWrap">WordWrap</td>
        <td><p>The style defines whether long strings are allowed to wrap within cells.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
