New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public abstract class RadControlBase : Control

Inheritance: objectRadControlBase

Derived Classes: PresenterBase

Constructors

Initializes a new instance of the RadControlBase class.

C#
protected RadControlBase()

Properties

Gets a value indicating whether the control is currently loaded.

C#
public bool IsLoaded { get; }

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

C#
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.

C#
public override void OnApplyTemplate()

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

C#
protected virtual void OnLoaded(object sender, RoutedEventArgs e)
Parameters:senderobjecteRoutedEventArgs

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

C#
protected virtual void OnUnloaded(object sender, RoutedEventArgs e)
Parameters:senderobjecteRoutedEventArgs