Class
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:

cs-api-definition
public abstract class RadControlBase : Control

Inheritance: objectRadControlBase

Derived Classes: PresenterBase

Constructors

RadControlBase()

Initializes a new instance of the RadControlBase class.

Declaration

cs-api-definition
protected RadControlBase()

Properties

IsLoaded

Gets a value indicating whether the control is currently loaded.

Declaration

cs-api-definition
public bool IsLoaded { get; }

Property Value

bool

IsTemplateApplied

Gets a value indicating whether the method has been called for this instance.

Declaration

cs-api-definition
public bool IsTemplateApplied { get; }

Property Value

bool

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

cs-api-definition
public override void OnApplyTemplate()

OnLoaded(object, RoutedEventArgs)

Occurs when a System.Windows.FrameworkElement has been constructed and added to the object tree.

Declaration

cs-api-definition
protected virtual void OnLoaded(object sender, RoutedEventArgs e)

Parameters

sender

object

e

RoutedEventArgs

OnUnloaded(object, RoutedEventArgs)

Occurs when this object is no longer connected to the main object tree.

Declaration

cs-api-definition
protected virtual void OnUnloaded(object sender, RoutedEventArgs e)

Parameters

sender

object

e

RoutedEventArgs