# GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter" class="text-break">FieldsPresenter Class
</h1>
  <div class="markdown level0 summary"><p>Used within the template of a fields control to specify the place in the control’s visual tree
where the container of GrapeCity.Windows.InputMan.Fields.Primitives.Field
is to be added.</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"><span class="xref">FieldsPresenter</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>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.html">GrapeCity.Wpf.SpreadSheet.CellType.Editors</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.CellType.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
public sealed class FieldsPresenter : FrameworkElement, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Localizability(LocalizationCategory.None, Readability:=Readability.Unreadable)&gt;
Public NotInheritable Class FieldsPresenter
    Inherits FrameworkElement
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter_examples"><strong>Examples</strong></h5>
  <p>The following example provides an example of self-defined template for GrapeCity.Windows.InputMan.Primitives.FieldsEditorControl. It adds two
split spin buttons to control.</p>

  <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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter__ctor" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.#ctor">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter__ctor">FieldsPresenter()</a>
        </td>
        <td class="markdown level1 summary"></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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter_LogicalChildren" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.LogicalChildren">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.LogicalChildren.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter_LogicalChildren">LogicalChildren</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an enumerator that can be used to iterate the logical child elements of a <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.html">FieldsPresenter</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter_VisualChildrenCount" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.VisualChildrenCount">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.VisualChildrenCount.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter_VisualChildrenCount">VisualChildrenCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that is equal to the number of visual child elements of this instance of <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.html">FieldsPresenter</a>.</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter_ArrangeOverride_System_Windows_Size_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.ArrangeOverride(System.Windows.Size)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.ArrangeOverride.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter_ArrangeOverride_System_Windows_Size_">ArrangeOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Arranges the content of a GrapeCity.Windows.InputMan.FieldsPresenter element.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter_GetVisualChild_System_Int32_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.GetVisualChild(System.Int32)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.GetVisualChild.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter_GetVisualChild_System_Int32_">GetVisualChild(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Overrides <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual.getvisualchild">GetVisualChild(int)</a>, and returns a child at the specified index from a collection of child elements.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter_MeasureOverride_System_Windows_Size_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.MeasureOverride(System.Windows.Size)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.MeasureOverride.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsPresenter_MeasureOverride_System_Windows_Size_">MeasureOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Measures the size in layout required for the child element of a <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.html">FieldsPresenter</a> and determines a size for the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsPresenter.html">FieldsPresenter</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
