RadControls for WinForms

RadElement class represents the smallest unit in a RadControl that can be painted or that has a layout slot in a RadControl. Generally each RadCotnrol is composed of a tree of RadElements. The tree has as a root the RootElement and children Children property.

Namespace: Telerik.WinControls
Assembly: Telerik.WinControls (in Telerik.WinControls.dll) Version: 2013.2.612.40 (2013.2.612.40)

Syntax

C#
public class RadElement : RadObject, ISupportSystemSkin, 
	IStylableNode
Visual Basic
Public Class RadElement _
	Inherits RadObject _
	Implements ISupportSystemSkin, IStylableNode

Remarks

Elements nesting also represents the visual nesting. Elements are painted starting from the root to the leaves of the tree. the leaves are most often primitive elements like, text, fills, borders and so on. Elements that are descendants of LayoutPanel are responsible for arranging their children in the available space and/or for notifying the parent that the layout space is not enough to expand. Layout behavior of each element can be adjusted using the properties: AutoSize, Size, AutoSizeMode (old layouts), and StretchHorizontally and StretchVertically for the new layouts. RadElement is the base class of all elements that need to take advantage of TPF features, like property inheritance, layouts, styling with the Visual Style Builder application. Each property change of a RadElement or of its inheritance parent would result in calling the method OnPropertyChange, which can be overridden in order to customize the response to changes of any RadPoperty.

Inheritance Hierarchy

See Also