skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI UI for Xamarin

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility and Security
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class SplitContainerLayoutStrategy

Defines the layout strategy for a RadSplitContainer.

Inheritance
System.Object
SplitContainerLayoutStrategy
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
SplitContainerLayoutInfo

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.Type

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
SplitPanel left

The panel left (top) on the splitter.

SplitPanel right

The panel right (bottom) on the splitter.

System.Int32 dragLength

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.Collections.Generic.List<SplitPanel> panels

System.Int32 index

System.Int32 remaining

Returns
System.Int32

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.Drawing.Size size

Returns
System.Int32

GetLengthF(SizeF)

Gets a single-precision value from the provides SizeF struct.

Declaration
protected virtual float GetLengthF(SizeF size)
Parameters
System.Drawing.SizeF size

Returns
System.Single

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
SplitPanel panel

Returns
System.Drawing.Size

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
RadSplitContainer container

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
RadSplitContainer container

UpdateLayoutInfo(RadSplitContainer)

Updates the layout info for a pending layout operation.

Declaration
protected virtual void UpdateLayoutInfo(RadSplitContainer container)
Parameters
RadSplitContainer container

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.