# C1.WPF.Grid.GridControlPanel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Grid_GridControlPanel" data-uid="C1.WPF.Grid.GridControlPanel" class="text-break">GridControlPanel Class
</h1>
  <div class="markdown level0 summary"><p>Panel that renders the cells in a grid according to the properties <span class="xref">C1.WPF.Grid.GridControlPanel.DisplayRange</span> and <span class="xref">C1.WPF.Grid.GridControlPanel.Viewport</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.panel">Panel</a></div>
    <div class="level5"><span class="xref">GridControlPanel</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.windows.markup.iaddchild">IAddChild</a></div>
    <div><span class="xref">IScrollViewerLargeScrolling</span></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.Grid.html">C1.WPF.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.GridControl.dll</h6>
  <h5 id="C1_WPF_Grid_GridControlPanel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GridControlPanel : Panel, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IScrollViewerLargeScrolling, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GridControlPanel
    Inherits Panel
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IScrollViewerLargeScrolling, 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_Grid_GridControlPanel__ctor_C1_WPF_Grid_C1GridControl_" data-uid="C1.WPF.Grid.GridControlPanel.#ctor(C1.WPF.Grid.C1GridControl)">
          <a class="xref" href="C1.WPF.Grid.GridControlPanel.-ctor.html#C1_WPF_Grid_GridControlPanel__ctor_C1_WPF_Grid_C1GridControl_">GridControlPanel(C1GridControl)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Grid.GridControlPanel.html">GridControlPanel</a> class.</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_Grid_GridControlPanel_Adapter" data-uid="C1.WPF.Grid.GridControlPanel.Adapter">
          <a class="xref" href="C1.WPF.Grid.GridControlPanel.Adapter.html#C1_WPF_Grid_GridControlPanel_Adapter">Adapter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the associated adapter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlPanel_ExtentHeight" data-uid="C1.WPF.Grid.GridControlPanel.ExtentHeight">
          <a class="xref" href="C1.WPF.Grid.GridControlPanel.ExtentHeight.html#C1_WPF_Grid_GridControlPanel_ExtentHeight">ExtentHeight</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlPanel_ExtentWidth" data-uid="C1.WPF.Grid.GridControlPanel.ExtentWidth">
          <a class="xref" href="C1.WPF.Grid.GridControlPanel.ExtentWidth.html#C1_WPF_Grid_GridControlPanel_ExtentWidth">ExtentWidth</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlPanel_Grid" data-uid="C1.WPF.Grid.GridControlPanel.Grid">
          <a class="xref" href="C1.WPF.Grid.GridControlPanel.Grid.html#C1_WPF_Grid_GridControlPanel_Grid">Grid</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the associated grid.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlPanel_IsReadOnly" data-uid="C1.WPF.Grid.GridControlPanel.IsReadOnly">
          <a class="xref" href="C1.WPF.Grid.GridControlPanel.IsReadOnly.html#C1_WPF_Grid_GridControlPanel_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the cells show the editor.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlPanel_Offset" data-uid="C1.WPF.Grid.GridControlPanel.Offset">
          <a class="xref" href="C1.WPF.Grid.GridControlPanel.Offset.html#C1_WPF_Grid_GridControlPanel_Offset">Offset</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlPanel_OuterBorders" data-uid="C1.WPF.Grid.GridControlPanel.OuterBorders">
          <a class="xref" href="C1.WPF.Grid.GridControlPanel.OuterBorders.html#C1_WPF_Grid_GridControlPanel_OuterBorders">OuterBorders</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the borders of the cells in the edge will be shown.</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_Grid_GridControlPanel_ArrangeOverride_System_Windows_Size_" data-uid="C1.WPF.Grid.GridControlPanel.ArrangeOverride(System.Windows.Size)">
          <a class="xref" href="C1.WPF.Grid.GridControlPanel.ArrangeOverride.html#C1_WPF_Grid_GridControlPanel_ArrangeOverride_System_Windows_Size_">ArrangeOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlPanel_Dispose" data-uid="C1.WPF.Grid.GridControlPanel.Dispose">
          <a class="xref" href="C1.WPF.Grid.GridControlPanel.Dispose.html#C1_WPF_Grid_GridControlPanel_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlPanel_Dispose_System_Boolean_" data-uid="C1.WPF.Grid.GridControlPanel.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Grid.GridControlPanel.Dispose.html#C1_WPF_Grid_GridControlPanel_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Release resource</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlPanel_GetLayoutClip_System_Windows_Size_" data-uid="C1.WPF.Grid.GridControlPanel.GetLayoutClip(System.Windows.Size)">
          <a class="xref" href="C1.WPF.Grid.GridControlPanel.GetLayoutClip.html#C1_WPF_Grid_GridControlPanel_GetLayoutClip_System_Windows_Size_">GetLayoutClip(Size)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlPanel_MeasureOverride_System_Windows_Size_" data-uid="C1.WPF.Grid.GridControlPanel.MeasureOverride(System.Windows.Size)">
          <a class="xref" href="C1.WPF.Grid.GridControlPanel.MeasureOverride.html#C1_WPF_Grid_GridControlPanel_MeasureOverride_System_Windows_Size_">MeasureOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridControlPanel_OnChildDesiredSizeChanged_System_Windows_UIElement_" data-uid="C1.WPF.Grid.GridControlPanel.OnChildDesiredSizeChanged(System.Windows.UIElement)">
          <a class="xref" href="C1.WPF.Grid.GridControlPanel.OnChildDesiredSizeChanged.html#C1_WPF_Grid_GridControlPanel_OnChildDesiredSizeChanged_System_Windows_UIElement_">OnChildDesiredSizeChanged(UIElement)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
