Defines the layout strategy for a RadSplitContainer.
Definition
Namespace:Telerik.WinControls.UI.Docking
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class SplitContainerLayoutStrategy
Inheritance: objectSplitContainerLayoutStrategy
Constructors
public SplitContainerLayoutStrategy()
Properties
Gets the layout info associated with this layout strategy.
protected SplitContainerLayoutInfo LayoutInfo { get; }
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.
public Type RootContainerType { get; set; }
Methods
Applies a correction in both of the specified panels, after a successful spliter drag operation.
public virtual void ApplySplitterCorrection(SplitPanel left, SplitPanel right, int dragLength)
The panel left (top) on the splitter.
rightSplitPanelThe panel right (bottom) on the splitter.
dragLengthintThe dragged distance.
Gets the available length left for the panel at the specified index.
protected virtual int GetAvailableLength(List<SplitPanel> panels, int index, int remaining)
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.
Performs the core layout logic. Updates each panel's bounds, keeping in mind restrictions like Minimum and Maximum size.
Performs the core measure logic. This is the pass which determines the desired size for each panel.
protected virtual void Measure()
Entry point for the entire layout operation. Called in the OnLayout override of RadSplitContainer.
public virtual void PerformLayout(RadSplitContainer container)
Updates the layout info for a pending layout operation.
protected virtual void UpdateLayoutInfo(RadSplitContainer container)