# GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase" class="text-break">ControlBase Class
</h1>
  <div class="markdown level0 summary"><p>Represents the base class for all controls.</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">ControlBase</span></div>
      <div class="level6"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditBase.html">EditBase</a></div>
      <div class="level6"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.html">GcComboBox</a></div>
      <div class="level6"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDropDownCalculator.html">GcDropDownCalculator</a></div>
      <div class="level6"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDropDownCalendar.html">GcDropDownCalendar</a></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.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</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_ControlBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplateVisualState(Name = &quot;Active&quot;, GroupName = &quot;ActiveStates&quot;)]
[TemplateVisualState(Name = &quot;Inactive&quot;, GroupName = &quot;ActiveStates&quot;)]
public abstract class ControlBase : Control, IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplateVisualState(Name:=&quot;Active&quot;, GroupName:=&quot;ActiveStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Inactive&quot;, GroupName:=&quot;ActiveStates&quot;)&gt;
Public MustInherit Class ControlBase
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase__ctor" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.#ctor">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase__ctor">ControlBase()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.html">ControlBase</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase_IsActiveChangedEvent" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.IsActiveChangedEvent">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.IsActiveChangedEvent.html">IsActiveChangedEvent</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.IsActiveChanged.html">IsActiveChanged</a> routed event.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase_IsActiveProperty" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.IsActiveProperty">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.IsActiveProperty.html">IsActiveProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.IsActive.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase_IsActive">IsActive</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase_IsActive" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.IsActive">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.IsActive.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase_IsActive">IsActive</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the control is keyboard focus within or not.</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_ControlBase_OnApplyTemplate" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.OnApplyTemplate">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.OnApplyTemplate.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>When overridden in a derived class, is invoked whenever application code or internal processes call <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement.applytemplate">ApplyTemplate()</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase_OnGotKeyboardFocus_System_Windows_Input_KeyboardFocusChangedEventArgs_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.OnGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.OnGotKeyboardFocus.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase_OnGotKeyboardFocus_System_Windows_Input_KeyboardFocusChangedEventArgs_">OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked when an unhandled <span class="xref">System.Windows.Input.Keyboard.GotKeyboardFocus</span> attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase_OnIsActiveChanged_System_Windows_RoutedEventArgs_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.OnIsActiveChanged(System.Windows.RoutedEventArgs)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.OnIsActiveChanged.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase_OnIsActiveChanged_System_Windows_RoutedEventArgs_">OnIsActiveChanged(RoutedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked when an unhandled <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.IsActiveChanged.html">IsActiveChanged</a> event is raised on this element. Implement this method to add class handling for this event.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase_OnLostKeyboardFocus_System_Windows_Input_KeyboardFocusChangedEventArgs_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.OnLostKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.OnLostKeyboardFocus.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase_OnLostKeyboardFocus_System_Windows_Input_KeyboardFocusChangedEventArgs_">OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked when an unhandled <span class="xref">System.Windows.Input.Keyboard.LostKeyboardFocus</span> attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_ControlBase_IsActiveChanged" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.IsActiveChanged">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.IsActiveChanged.html">IsActiveChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the value of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase.IsActive.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlBase_IsActive">IsActive</a> property on this element changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
