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.
Namespace: Telerik.WinControls.Layouts
Assembly: Telerik.WinControls.dll
Syntax
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
Size GetPreferredSize(Size proposedSize)
Parameters
System.Drawing.Size
proposedSize
|
Returns
System.Drawing.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
void PerformLayout(RadElement affectedElement)
Parameters
RadElement
affectedElement
|