[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase

ControlBase Class

Represents the base class for all controls.

Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
[TemplateVisualState(Name = "Active", GroupName = "ActiveStates")]
[TemplateVisualState(Name = "Inactive", GroupName = "ActiveStates")]
public abstract class ControlBase : Control, IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize
<TemplateVisualState(Name:="Active", GroupName:="ActiveStates")>
<TemplateVisualState(Name:="Inactive", GroupName:="ActiveStates")>
Public MustInherit Class ControlBase
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize

Constructors

Name Description
ControlBase()

Initializes a new instance of the ControlBase class.

Fields

Name Description
IsActiveChangedEvent

Identifies the IsActiveChanged routed event.

IsActiveProperty

Identifies the IsActive dependency property.

Properties

Name Description
IsActive

Gets a value indicating whether the control is keyboard focus within or not.

Methods

Name Description
OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

Invoked when an unhandled System.Windows.Input.Keyboard.GotKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

OnIsActiveChanged(RoutedEventArgs)

Invoked when an unhandled IsActiveChanged event is raised on this element. Implement this method to add class handling for this event.

OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

Invoked when an unhandled System.Windows.Input.Keyboard.LostKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Events

Name Description
IsActiveChanged

Occurs when the value of the IsActive property on this element changes.