ClassRadControlBase
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
RadControlBase()
Initializes a new instance of the RadControlBase class.
Declaration
protected RadControlBase()
Properties
IsLoaded
Gets a value indicating whether the control is currently loaded.
IsTemplateApplied
Gets a value indicating whether the method has been called for this instance.
Methods
OnApplyTemplate()
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.
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
sender
e
RoutedEventArgs
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
sender
e
RoutedEventArgs