# C1.WPF.Pivot.C1FormatEditor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Pivot_C1FormatEditor" data-uid="C1.WPF.Pivot.C1FormatEditor" class="text-break">C1FormatEditor Class
</h1>
  <div class="markdown level0 summary"><p>Editor for <span class="xref">C1.PivotEngine.PivotFilter</span> objects.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level5"><span class="xref">C1FormatEditor</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Pivot.html">C1.WPF.Pivot</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Pivot.dll</h6>
  <h5 id="C1_WPF_Pivot_C1FormatEditor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;Root&quot;, Type = typeof(Grid))]
[TemplatePart(Name = &quot;ListFormats&quot;, Type = typeof(ListBox))]
[TemplatePart(Name = &quot;ChkThousand&quot;, Type = typeof(CheckBox))]
[TemplatePart(Name = &quot;NumDec&quot;, Type = typeof(C1NumericBox))]
[TemplatePart(Name = &quot;TxtCustom&quot;, Type = typeof(TextBox))]
[TemplatePart(Name = &quot;LblSample&quot;, Type = typeof(TextBlock))]
[TemplatePart(Name = &quot;PSample&quot;, Type = typeof(Panel))]
[TemplatePart(Name = &quot;PDecimals&quot;, Type = typeof(Panel))]
[TemplatePart(Name = &quot;PCustom&quot;, Type = typeof(Panel))]
[TemplatePart(Name = &quot;PStringRange&quot;, Type = typeof(Panel))]
[TemplatePart(Name = &quot;PDateRange&quot;, Type = typeof(Panel))]
[TemplatePart(Name = &quot;PNumericRange&quot;, Type = typeof(Panel))]
[TemplatePart(Name = &quot;ChkBoxGroupFirstLetter&quot;, Type = typeof(CheckBox))]
[TemplatePart(Name = &quot;ChkBoxIgnoreCase&quot;, Type = typeof(CheckBox))]
[TemplatePart(Name = &quot;CmbBoxFiscalYearFirstMonth&quot;, Type = typeof(C1ComboBox))]
[TemplatePart(Name = &quot;CmbBoxFiscalYearShift&quot;, Type = typeof(C1ComboBox))]
[TemplatePart(Name = &quot;ChkBoxGroupByNumeric&quot;, Type = typeof(CheckBox))]
[TemplatePart(Name = &quot;CmbBoxGroupByStep&quot;, Type = typeof(C1ComboBox))]
public class C1FormatEditor : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;Root&quot;, Type:=GetType(Grid))&gt;
&lt;TemplatePart(Name:=&quot;ListFormats&quot;, Type:=GetType(ListBox))&gt;
&lt;TemplatePart(Name:=&quot;ChkThousand&quot;, Type:=GetType(CheckBox))&gt;
&lt;TemplatePart(Name:=&quot;NumDec&quot;, Type:=GetType(C1NumericBox))&gt;
&lt;TemplatePart(Name:=&quot;TxtCustom&quot;, Type:=GetType(TextBox))&gt;
&lt;TemplatePart(Name:=&quot;LblSample&quot;, Type:=GetType(TextBlock))&gt;
&lt;TemplatePart(Name:=&quot;PSample&quot;, Type:=GetType(Panel))&gt;
&lt;TemplatePart(Name:=&quot;PDecimals&quot;, Type:=GetType(Panel))&gt;
&lt;TemplatePart(Name:=&quot;PCustom&quot;, Type:=GetType(Panel))&gt;
&lt;TemplatePart(Name:=&quot;PStringRange&quot;, Type:=GetType(Panel))&gt;
&lt;TemplatePart(Name:=&quot;PDateRange&quot;, Type:=GetType(Panel))&gt;
&lt;TemplatePart(Name:=&quot;PNumericRange&quot;, Type:=GetType(Panel))&gt;
&lt;TemplatePart(Name:=&quot;ChkBoxGroupFirstLetter&quot;, Type:=GetType(CheckBox))&gt;
&lt;TemplatePart(Name:=&quot;ChkBoxIgnoreCase&quot;, Type:=GetType(CheckBox))&gt;
&lt;TemplatePart(Name:=&quot;CmbBoxFiscalYearFirstMonth&quot;, Type:=GetType(C1ComboBox))&gt;
&lt;TemplatePart(Name:=&quot;CmbBoxFiscalYearShift&quot;, Type:=GetType(C1ComboBox))&gt;
&lt;TemplatePart(Name:=&quot;ChkBoxGroupByNumeric&quot;, Type:=GetType(CheckBox))&gt;
&lt;TemplatePart(Name:=&quot;CmbBoxGroupByStep&quot;, Type:=GetType(C1ComboBox))&gt;
Public Class C1FormatEditor
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor__ctor" data-uid="C1.WPF.Pivot.C1FormatEditor.#ctor">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.-ctor.html#C1_WPF_Pivot_C1FormatEditor__ctor">C1FormatEditor()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.html">C1FormatEditor</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_FiscalYearFirstMonthProperty" data-uid="C1.WPF.Pivot.C1FormatEditor.FiscalYearFirstMonthProperty">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.FiscalYearFirstMonthProperty.html">FiscalYearFirstMonthProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.FiscalYearFirstMonth.html#C1_WPF_Pivot_C1FormatEditor_FiscalYearFirstMonth">FiscalYearFirstMonth</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_FiscalYearShiftProperty" data-uid="C1.WPF.Pivot.C1FormatEditor.FiscalYearShiftProperty">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.FiscalYearShiftProperty.html">FiscalYearShiftProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.FiscalYearShift.html#C1_WPF_Pivot_C1FormatEditor_FiscalYearShift">FiscalYearShift</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_FormatProperty" data-uid="C1.WPF.Pivot.C1FormatEditor.FormatProperty">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.FormatProperty.html">FormatProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.Format.html#C1_WPF_Pivot_C1FormatEditor_Format">Format</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_RangeStepProperty" data-uid="C1.WPF.Pivot.C1FormatEditor.RangeStepProperty">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.RangeStepProperty.html">RangeStepProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.RangeStep.html#C1_WPF_Pivot_C1FormatEditor_RangeStep">RangeStep</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_RangeTypeProperty" data-uid="C1.WPF.Pivot.C1FormatEditor.RangeTypeProperty">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.RangeTypeProperty.html">RangeTypeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.RangeType.html#C1_WPF_Pivot_C1FormatEditor_RangeType">RangeType</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_TypeCodeProperty" data-uid="C1.WPF.Pivot.C1FormatEditor.TypeCodeProperty">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.TypeCodeProperty.html">TypeCodeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.TypeCode.html#C1_WPF_Pivot_C1FormatEditor_TypeCode">TypeCode</a> dependency property.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_FiscalYearFirstMonth" data-uid="C1.WPF.Pivot.C1FormatEditor.FiscalYearFirstMonth">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.FiscalYearFirstMonth.html#C1_WPF_Pivot_C1FormatEditor_FiscalYearFirstMonth">FiscalYearFirstMonth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the FiscalYearFirstMonth being created or edited.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_FiscalYearShift" data-uid="C1.WPF.Pivot.C1FormatEditor.FiscalYearShift">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.FiscalYearShift.html#C1_WPF_Pivot_C1FormatEditor_FiscalYearShift">FiscalYearShift</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the FiscalYearShift being created or edited.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_Format" data-uid="C1.WPF.Pivot.C1FormatEditor.Format">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.Format.html#C1_WPF_Pivot_C1FormatEditor_Format">Format</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the format string being created or edited.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_IsDisposed" data-uid="C1.WPF.Pivot.C1FormatEditor.IsDisposed">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.IsDisposed.html#C1_WPF_Pivot_C1FormatEditor_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this instance is disposed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_RangeStep" data-uid="C1.WPF.Pivot.C1FormatEditor.RangeStep">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.RangeStep.html#C1_WPF_Pivot_C1FormatEditor_RangeStep">RangeStep</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the RangeStep being created or edited.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_RangeType" data-uid="C1.WPF.Pivot.C1FormatEditor.RangeType">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.RangeType.html#C1_WPF_Pivot_C1FormatEditor_RangeType">RangeType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the RangeType being created or edited.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_TypeCode" data-uid="C1.WPF.Pivot.C1FormatEditor.TypeCode">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.TypeCode.html#C1_WPF_Pivot_C1FormatEditor_TypeCode">TypeCode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.typecode">TypeCode</a> that specifies the type of format string being created or edited.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_Dispose" data-uid="C1.WPF.Pivot.C1FormatEditor.Dispose">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.Dispose.html#C1_WPF_Pivot_C1FormatEditor_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_Dispose_System_Boolean_" data-uid="C1.WPF.Pivot.C1FormatEditor.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.Dispose.html#C1_WPF_Pivot_C1FormatEditor_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_Finalize" data-uid="C1.WPF.Pivot.C1FormatEditor.Finalize">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.Finalize.html#C1_WPF_Pivot_C1FormatEditor_Finalize">Finalize()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes this instance of the <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.html">C1FormatEditor</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_C1FormatEditor_OnApplyTemplate" data-uid="C1.WPF.Pivot.C1FormatEditor.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Pivot.C1FormatEditor.OnApplyTemplate.html#C1_WPF_Pivot_C1FormatEditor_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
