Interface
IRadLayoutElement

Defines basic methods for Telerik layout architecture. Since all layout panels update their layout automatically through events, this functions are rarely used directly.

Definition

Namespace:Telerik.WinControls.Layouts

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public interface IRadLayoutElement

Methods

GetPreferredSize(Size)

Retrieves the preferred size of the layout panel. If the proposed size is smaller than the minimal one, the minimal one is retrieved. Since all layout panels update their layout automatically through events, this function is rarely used directly.

Declaration

cs-api-definition
Size GetPreferredSize(Size proposedSize)

Parameters

proposedSize

Size

Returns

Size

PerformLayout(RadElement)

Performs layout changes based on the element given as a paramater. Sizes and places are determined by the concrete layout panel that is used. For example if StackLayoutPanel is used, the element will be placed next to the previously placed element. Since all layout panels update their layout automatically through events, this function is rarely used directly.

Declaration

cs-api-definition
void PerformLayout(RadElement affectedElement)

Parameters

affectedElement

RadElement