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