# C1.Win.FlexGrid.C1FlexGridBase.IconsStyle

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_C1FlexGridBase_IconsStyle_" data-uid="C1.Win.FlexGrid.C1FlexGridBase.IconsStyle*">IconsStyle Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_C1FlexGridBase_IconsStyle_" data-uid="C1.Win.FlexGrid.C1FlexGridBase.IconsStyle*"></a>
<h4 id="C1_Win_FlexGrid_C1FlexGridBase_IconsStyle" data-uid="C1.Win.FlexGrid.C1FlexGridBase.IconsStyle">IconsStyle</h4>
<div class="markdown level1 summary"><p>Gets or sets style of icons that are used in the <a class="xref" href="C1.Win.FlexGrid.C1FlexGrid.html">C1FlexGrid</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public IconsStyle IconsStyle { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property IconsStyle As IconsStyle</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_C1FlexGridBase_IconsStyle_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Use <a class="xref" href="C1.Win.FlexGrid.IconsStyle.html#C1_Win_FlexGrid_IconsStyle_Office365">Office365</a> for displaying Offic365 theme-like icons, <a class="xref" href="C1.Win.FlexGrid.IconsStyle.html#C1_Win_FlexGrid_IconsStyle_Default">Default</a> otherwise.</p>
<p>C1FlexGrid.Tree and C1FlexGridGroupPanel use the same icons style as C1FlexGrid.</p>
<p>This property can be customized through c1theme. Set C1FlexGrid\Icons Style node value to set up this property with c1theme applying. 
Office365 themes set <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.IconsStyle.html#C1_Win_FlexGrid_C1FlexGridBase_IconsStyle">IconsStyle</a> to <a class="xref" href="C1.Win.FlexGrid.IconsStyle.html#C1_Win_FlexGrid_IconsStyle_Office365">Office365</a>, other themes set it to  <a class="xref" href="C1.Win.FlexGrid.IconsStyle.html#C1_Win_FlexGrid_IconsStyle_Default">Default</a>.</p>
</div>
<h5 id="C1_Win_FlexGrid_C1FlexGridBase_IconsStyle_examples">Examples</h5>
<p>Use Office365-style icons in FlexGrid.</p>
<pre><code class="lang-csharp">var flexGrid = new C1.Win.FlexGrid.C1FlexGrid();
flexGrid.IconsStyle = IconsStyle.Office365;</code></pre>
<p>FlexGridGroupPanel receives icons style from attached FlexGrid.</p>
<pre><code class="lang-csharp">//Install the c1.Win.FlexGrud.GroupPanel nuget package to be able to use C1FlexGridGroupPanel.
var flexGrid = new C1.Win.FlexGrid.C1FlexGrid();
flexGrid.IconsStyle = IconsStyle.Office365;
var flexGridGroupPanel = new C1.Win.C1FlexGrid.C1FlexGridGroupPanel();
flexGridGroupPanel.FlexGrid = flexGrid; //flexGridGroupPanel's ClearButtons will be shown with Office365 icons.
flexGrid.IconsStyle = IconsStyle.Default; //flexGridGroupPanel's ClearButtons will be shown with default icons.</code></pre>
<p>C1Theme affects this property.</p>
<pre><code class="lang-csharp">//Install the c1.Win.Themes nuget package to be able to use C1ThemeController.
var flexGrid = new C1.Win.FlexGrid.C1FlexGrid();
var c1ThemeController = new C1.Win.Themes.C1ThemeController();
c1ThemeController1.SetTheme(this.flexGrid, "Office365White"); //flexGrid.IconsStyle = IconsStyle.Office365. The same for other Office365 themes.
c1ThemeController1.SetTheme(this.flexGrid, "Material"); //flexGrid.IconsStyle = IconsStyle.Default. The same for other non-Office365 themes.</code></pre>

</div>
