[]
Represents the base class for all controls.
[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
Name | Description |
---|---|
ControlBase() | Initializes a new instance of the ControlBase class. |
Name | Description |
---|---|
IsActiveChangedEvent | Identifies the IsActiveChanged routed event. |
IsActiveProperty | Identifies the IsActive dependency property. |
Name | Description |
---|---|
IsActive | Gets a value indicating whether the control is keyboard focus within or not. |
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. |
Name | Description |
---|---|
IsActiveChanged | Occurs when the value of the IsActive property on this element changes. |