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

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:

C#
public interface IRadLayoutElement

Methods

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.

C#
Size GetPreferredSize(Size proposedSize)
Parameters:proposedSizeSizeReturns:

Size

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.

C#
void PerformLayout(RadElement affectedElement)
Parameters:affectedElementRadElement