Class SplitContainerLayoutStrategy
Defines the layout strategy for a RadSplitContainer.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Docking
Assembly: Telerik.WinControls.UI.dll
Syntax
public class SplitContainerLayoutStrategy
Constructors
SplitContainerLayoutStrategy()
Declaration
public SplitContainerLayoutStrategy()
Properties
LayoutInfo
Gets the layout info associated with this layout strategy.
Declaration
protected SplitContainerLayoutInfo LayoutInfo { get; }
Property Value
RootContainerType
Gets or sets the Type that is treated as Root for the layout strategy. Allows for defining how deep the search for a Fill panel should be.
Declaration
public Type RootContainerType { get; set; }
Property Value
System.
|
Methods
ApplySplitterCorrection(SplitPanel, SplitPanel, Int32)
Applies a correction in both of the specified panels, after a successful spliter drag operation.
Declaration
public virtual void ApplySplitterCorrection(SplitPanel left, SplitPanel right, int dragLength)
Parameters
Split The panel left (top) on the splitter. |
Split The panel right (bottom) on the splitter. |
System. The dragged distance. |
GetAvailableLength(List<SplitPanel>, Int32, Int32)
Gets the available length left for the panel at the specified index.
Declaration
protected virtual int GetAvailableLength(List<SplitPanel> panels, int index, int remaining)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
GetLength(Size)
Gets an integer value for the specified size (depending on the orientation of the current laid-out container).
Declaration
protected virtual int GetLength(Size size)
Parameters
System.
|
Returns
System.
|
GetLengthF(SizeF)
Gets a single-precision value from the provides SizeF struct.
Declaration
protected virtual float GetLengthF(SizeF size)
Parameters
System.
|
Returns
System.
|
GetMinimumSize(SplitPanel)
Gets the minimum size for the specified split panel. If it is a container, the sum of minimum sizes of all child panels is calculated.
Declaration
protected virtual Size GetMinimumSize(SplitPanel panel)
Parameters
Split
|
Returns
System.
|
Layout(RadSplitContainer)
Performs the core layout logic. Updates each panel's bounds, keeping in mind restrictions like Minimum and Maximum size.
Declaration
protected virtual void Layout(RadSplitContainer container)
Parameters
Rad
|
Measure()
Performs the core measure logic. This is the pass which determines the desired size for each panel.
Declaration
protected virtual void Measure()
PerformLayout(RadSplitContainer)
Entry point for the entire layout operation. Called in the OnLayout override of RadSplitContainer.
Declaration
public virtual void PerformLayout(RadSplitContainer container)
Parameters
Rad
|
UpdateLayoutInfo(RadSplitContainer)
Updates the layout info for a pending layout operation.
Declaration
protected virtual void UpdateLayoutInfo(RadSplitContainer container)
Parameters
Rad
|