# GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditorPresenter" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter" class="text-break">EditorPresenter Class
</h1>
  <div class="markdown level0 summary"><p>Displays the content of a <span class="xref">GrapeCity.Windows.InputMan.GcTextBox</span>.</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">EditorPresenter</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_EditorPresenter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
public sealed class EditorPresenter : 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 EditorPresenter
    Inherits FrameworkElement
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditorPresenter_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Used within the template of a <span class="xref">GrapeCity.Windows.InputMan.GcTextBox</span> to specify the place in the control’s visual tree where the container of text box content is to be added.</p>
</div>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditorPresenter_examples"><strong>Examples</strong></h5>
  <p>The following code demonstrates how to customize Template of <span class="xref">GrapeCity.Windows.InputMan.GcTextBox</span>.</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_EditorPresenter__ctor" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.#ctor">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditorPresenter__ctor">EditorPresenter()</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_EditorPresenter_LogicalChildren" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.LogicalChildren">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.LogicalChildren.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditorPresenter_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.EditorPresenter.html">EditorPresenter</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditorPresenter_VisualChildrenCount" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.VisualChildrenCount">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.VisualChildrenCount.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditorPresenter_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.EditorPresenter.html">EditorPresenter</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_EditorPresenter_ArrangeOverride_System_Windows_Size_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.ArrangeOverride(System.Windows.Size)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.ArrangeOverride.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditorPresenter_ArrangeOverride_System_Windows_Size_">ArrangeOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Arranges the content of a <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.html">EditorPresenter</a> element.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditorPresenter_GetVisualChild_System_Int32_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.GetVisualChild(System.Int32)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.GetVisualChild.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditorPresenter_GetVisualChild_System_Int32_">GetVisualChild(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the child <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a> element at the specified index position.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditorPresenter_MeasureOverride_System_Windows_Size_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.MeasureOverride(System.Windows.Size)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.MeasureOverride.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditorPresenter_MeasureOverride_System_Windows_Size_">MeasureOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Measures the child element of a <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.html">EditorPresenter</a> to prepare for arranging it during the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditorPresenter.ArrangeOverride.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_EditorPresenter_ArrangeOverride_System_Windows_Size_">ArrangeOverride(Size)</a> pass.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
