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 Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    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 Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free 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
    • 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 RadSplitContainer

Layout control that stacks pane items with splitters in-between. Not to be used outside RadDocking.

Inheritance
System.Object
RadSplitContainer
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Docking.dll

Syntax

[TelerikToolboxCategory("Containers")]
public class RadSplitContainer : ItemsControl, ISplitItem, IDocumentHostAware, IToolWindowAware, IThemable, ISupportsResize

Constructors

RadSplitContainer()

Initializes a new instance of the RadSplitContainer class.

Declaration
public RadSplitContainer()

Fields

InitialPositionProperty

Identifies the InitialPosition dependency property.

Declaration
public static readonly DependencyProperty InitialPositionProperty
Field Value
System.Windows.DependencyProperty

OrientationProperty

Identifies the OrientationProperty dependency property.

Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.Windows.DependencyProperty

SplitterPositionProperty

Identifies the ResizerPosition property.

Declaration
public static readonly DependencyProperty SplitterPositionProperty
Field Value
System.Windows.DependencyProperty

Properties

Control

Gets the actual control that will be a visual child of the SplitContainer.

Declaration
public Control Control { get; }
Property Value
System.Windows.Controls.Control

Implements
ISplitItem.Control

InitialPosition

Gets or sets the initial position.

Declaration
public DockState InitialPosition { get; set; }
Property Value
DockState

The initial position.

IsInDocumentHost

Gets a value indicating whether the object is contained within a DocumentHost.

Declaration
public bool IsInDocumentHost { get; }
Property Value
System.Boolean

IsInToolWindow

Gets a value indicating whether the object is contained within a ToolWindow.

Declaration
public bool IsInToolWindow { get; }
Property Value
System.Boolean

Orientation

Gets or sets the orientation.

Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Controls.Orientation

The orientation.

ParentContainer

Gets or sets the SplitContainer that holds the item.

Declaration
public RadSplitContainer ParentContainer { get; }
Property Value
RadSplitContainer

The RadSplitContainer that contains the split container.

Implements
ISplitItem.ParentContainer

SplitterPosition

Gets the position of the Resizer in the RadSplitContainer template.

Declaration
public Nullable<Dock> SplitterPosition { get; }
Property Value
System.Nullable<System.Windows.Controls.Dock>

Methods

AddItem(ISplitItem, DockPosition, ISplitItem)

Adds the item relative to another item.

Declaration
public void AddItem(ISplitItem item, DockPosition dockPosition, ISplitItem relativeTo)
Parameters
ISplitItem item

The item to be added.

DockPosition dockPosition

The relative position at which the item will be added.

ISplitItem relativeTo

The item, relative to which the new one will be added.

ChangeVisualState(Boolean)

Updates the visual states of the control.

Declaration
protected virtual void ChangeVisualState(bool useTransitions)
Parameters
System.Boolean useTransitions

Identifies whether the transitions should be used.

ClearContainerForItemOverride(DependencyObject, Object)

Clears the container for item override.

Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject element

The element.

System.Object item

The item.

EnumeratePanes()

Enumerates the panes contained by the split item and its children.

Declaration
public IEnumerable<RadPane> EnumeratePanes()
Returns
System.Collections.Generic.IEnumerable<RadPane>

Implements
ISplitItem.EnumeratePanes()

GetContainerForItemOverride()

Gets the container for item override.

Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
System.Windows.DependencyObject

Ready for use container.

GoToState(Boolean, String[])

Attempts to move the control to one of the states in the list.

Declaration
protected void GoToState(bool useTransitions, params string[] stateNames)
Parameters
System.Boolean useTransitions

Indicates whether transitions should be used.

System.String[] stateNames

The names of the states that should be reached.

IsItemItsOwnContainerOverride(Object)

Determines whether is the specified item its own container.

Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
System.Object item

The item.

Returns
System.Boolean

True if the specified item is its own container; otherwise, false.

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().

Declaration
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event and sets System.Windows.FrameworkElement.DefaultStyleKey from the active theme.

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

The System.Windows.RoutedEventArgs that contains the event data.

OnIsInDocumentHostChanged(Boolean, Boolean)

Called when the IsInDocumentHost property changes. Allows the control to change its appearance and behavior when placed in a DocumentHost.

Declaration
protected virtual void OnIsInDocumentHostChanged(bool oldValue, bool newValue)
Parameters
System.Boolean oldValue

The old value of the property.

System.Boolean newValue

The new value of the property.

OnIsInToolWindowChanged(Boolean, Boolean)

Called when the IToolWindowAware property changes. Allows the control to change its appearance and behavior when placed in a ToolWindow.

Declaration
protected virtual void OnIsInToolWindowChanged(bool oldValue, bool newValue)
Parameters
System.Boolean oldValue

The old value of the property.

System.Boolean newValue

The new value of the property.

OnItemsChanged(NotifyCollectionChangedEventArgs)

Raises the ItemsChanged event.

Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
System.Collections.Specialized.NotifyCollectionChangedEventArgs e

The System.Collections.Specialized.NotifyCollectionChangedEventArgs instance containing the event data.

OnLoaded(Object, RoutedEventArgs)

Called when the Loaded event is fired.

Declaration
protected virtual void OnLoaded(object sender, RoutedEventArgs e)
Parameters
System.Object sender

The sender.

System.Windows.RoutedEventArgs e

The System.Windows.RoutedEventArgs instance containing the event data.

PrepareContainerForItemOverride(DependencyObject, Object)

Prepares the container for item override.

Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject element

The element.

System.Object item

The item.

ResetTheme()

Resets the theme.

Declaration
public void ResetTheme()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML 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.