# C1.WPF.Excel.XLStyle.Font

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Excel_XLStyle_Font_" data-uid="C1.WPF.Excel.XLStyle.Font*">Font Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Excel_XLStyle_Font_" data-uid="C1.WPF.Excel.XLStyle.Font*"></a>
<h4 id="C1_WPF_Excel_XLStyle_Font" data-uid="C1.WPF.Excel.XLStyle.Font">Font</h4>
<div class="markdown level1 summary"><p>Gets or sets the font for this <a class="xref" href="C1.WPF.Excel.XLStyle.html">XLStyle</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public XLFont Font { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Font As XLFont</code></pre>
</div>
<h5 id="C1_WPF_Excel_XLStyle_Font_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Set the <a class="xref" href="C1.WPF.Excel.XLStyle.Font.html#C1_WPF_Excel_XLStyle_Font">Font</a> property to null in order to suppress
this style element and use the default font instead. The default font is
determined by the book's <a class="xref" href="C1.WPF.Excel.C1XLBook.DefaultFont.html#C1_WPF_Excel_C1XLBook_DefaultFont">DefaultFont</a> property.</p>
</div>
</div>
