Class RadControlBase
Wraps basic routed events like Loaded and Unloaded in virtual methods and expose common properties like IsLoaded and IsTemplateApplied.
Inheritance
Namespace: Telerik.Windows.Controls.Primitives
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public abstract class RadControlBase : Control
Constructors
RadControlBase()
Properties
IsLoaded
Gets a value indicating whether the control is currently loaded.
Declaration
public bool IsLoaded { get; }
Property Value
System.Boolean
|
IsTemplateApplied
Gets a value indicating whether the System.Windows.Controls.Control.ApplyTemplate method has been called for this instance.
Declaration
public bool IsTemplateApplied { get; }
Property Value
System.Boolean
|
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
Declaration
public override void OnApplyTemplate()
OnLoaded(Object, RoutedEventArgs)
Occurs when a System.Windows.FrameworkElement has been constructed and added to the object tree.
Declaration
protected virtual void OnLoaded(object sender, RoutedEventArgs e)
Parameters
System.Object
sender
|
System.Windows.RoutedEventArgs
e
|
OnUnloaded(Object, RoutedEventArgs)
Occurs when this object is no longer connected to the main object tree.
Declaration
protected virtual void OnUnloaded(object sender, RoutedEventArgs e)
Parameters
System.Object
sender
|
System.Windows.RoutedEventArgs
e
|