Class
RadSplitContainer

Represents a container control that provides a resizable split interface with multiple panels. The control supports both horizontal and vertical orientations and allows dynamic resizing of contained panels.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Containers")]
[Docking(DockingBehavior.Ask)]
[RadToolboxItem(false)]
public class RadSplitContainer : SplitPanel, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlSplitPanelRadSplitContainer

Derived Classes: DocumentContainerRadDock

Implements: IAnalyticsProviderIBindableComponentIComponentIComponentTreeHandlerIDisposableIDropTargetILayoutHandlerINotifyPropertyChangedISupportInitializeISupportInitializeNotificationISynchronizeInvokeIWin32Window

Inherited Members SplitPanel.SetBoundsCore(int, int, int, int, BoundsSpecified)SplitPanel.OnControlAdded(ControlEventArgs)SplitPanel.OnControlTreeChanged(ControlTreeChangedEventArgs)SplitPanel.WndProc(ref Message)SplitPanel.ScaleControl(SizeF, BoundsSpecified)SplitPanel.ElementTreeSplitPanel.EnableKeyMapSplitPanel.CommandBindingsSplitPanel.ImageScalingSizeSplitPanel.IsDesignModeSplitPanel.BorderStyleSplitPanel.SizeInfoSplitPanel.CreateParamsSplitPanel.MinimumSizeSplitPanel.MaximumSizeSplitPanel.DefaultSizeSplitPanel.SplitContainerSplitPanel.SplitPanelElementSplitPanel.CollapsedSplitPanel.DefaultMarginSplitPanel.ControlTreeChangedRadControl.isResizing2RadControl.isDisposing2RadControl.invalidResizeRectRadControl.isAccessibilityRequestedRadControl.Dispose(bool)RadControl.CreateBehavior()RadControl.CreateRootElement()RadControl.InitializeRootElement(RootRadElement)RadControl.LoadElementTree()RadControl.LoadElementTree(Size)RadControl.SetForeColorThemeOverrides()RadControl.ResetForeColorThemeOverrides()RadControl.OnKeyDown(KeyEventArgs)RadControl.OnKeyUp(KeyEventArgs)RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)RadControl.OnKeyPress(KeyPressEventArgs)RadControl.OnClick(EventArgs)RadControl.OnDoubleClick(EventArgs)RadControl.OnMouseEnter(EventArgs)RadControl.OnMouseHover(EventArgs)RadControl.OnMouseWheel(MouseEventArgs)RadControl.OnMouseCaptureChanged(EventArgs)RadControl.OnGotFocus(EventArgs)RadControl.OnLostFocus(EventArgs)RadControl.OnCreateControl()RadControl.OnHandleDestroyed(EventArgs)RadControl.OnVisibleChanged(EventArgs)RadControl.OnFontChanged(EventArgs)RadControl.OnForeColorChanged(EventArgs)RadControl.OnBackColorChanged(EventArgs)RadControl.OnEnabledChanged(EventArgs)RadControl.OnBindingContextChanged(EventArgs)RadControl.OnLocationChanged(EventArgs)RadControl.OnPaddingChanged(EventArgs)RadControl.OnRightToLeftChanged(EventArgs)RadControl.OnPaint(PaintEventArgs)RadControl.OnAutoSizeChanged(EventArgs)RadControl.OnInvalidated(RadElement)RadControl.OnCaptureLosing()RadControl.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)RadControl.OnScreenTipNeeded(object, ScreenTipNeededEventArgs)RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)RadControl.ProcessMnemonic(char)RadControl.ProcessFocusRequested(RadElement)RadControl.ProcessCaptureChangeRequested(RadElement, bool)RadControl.ProcessAutoSizeChanged(bool)RadControl.IsInputKey(Keys)RadControl.GetInputElement()RadControl.BeginInit()RadControl.EndInit()RadControl.OnNotifyPropertyChanged(string)RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadControl.GetPreferredSize(Size)RadControl.GetRootElementDesiredSize(int, int, int, int)RadControl.OnZoomGesture(ZoomGestureEventArgs)RadControl.OnRotateGesture(RotateGestureEventArgs)RadControl.OnPanGesture(PanGestureEventArgs)RadControl.OnTwoFingerTapGesture(GestureEventArgs)RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadControl.OnGesture(GestureEventArgs)RadControl.ProcessGesture(Message)RadControl.EnableGesture(GestureType)RadControl.DisableGesture(GestureType)RadControl.Refresh()RadControl.SuspendUpdate()RadControl.ResumeUpdate()RadControl.ResumeUpdate(bool)RadControl.InvokeLayoutCallback(LayoutCallback)RadControl.RegisterHostedControl(RadHostItem)RadControl.UnregisterHostedControl(RadHostItem, bool)RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)RadControl.GetPlainText()RadControl.ShouldSerializeProperty(RadProperty)RadControl.ShouldSerializeProperty(RadProperty, RadObject)RadControl.ResetProperty(RadProperty, RadObject)RadControl.CanEditElementAtDesignTime(RadElement)RadControl.ProcessCodedUIMessage(ref IPCMessage)RadControl.FindPropertyInChildren(RadControl, IPCMessage)RadControl.PerformRadAutoScale(BoundsSpecified?)RadControl.GetMonitorDpiScaleFactor(Control)RadControl.SetRadAutoScale(bool)RadControl.EnableDpiScalingRadControl.EnableRadAutoScaleRadControl.EnableRadFormInitialDpiScalingRadControl.EnableImageDpiScalingRadControl.EnableSvgImagesRadControl.IsLoadedRadControl.UseCompatibleTextRenderingDefaultValueRadControl.BehaviorRadControl.RootElementRadControl.PaddingRadControl.ThemeNameRadControl.TextRadControl.EnableThemingRadControl.ImageListRadControl.UseCompatibleTextRenderingRadControl.AutoSizeRadControl.FocusableRadControl.SiteRadControl.CausesValidationRadControl.IsInitializingRadControl.SmallImageListRadControl.SmallImageScalingSizeRadControl.IsDisplayedRadControl.FocusedElementRadControl.AllowShowFocusCuesRadControl.ShowItemToolTipsRadControl.BackColorRadControl.ForeColorRadControl.FontRadControl.ValidationCancelRadControl.EnableAnalyticsRadControl.AnalyticsNameRadControl.EnableRadAccessibilityObjectsRadControl.EnableCodedUITestsRadControl.EnableCodedUITestsDefaultValueRadControl.EnableUIAutomationRadControl.EnableUIAutomationDefaultValueRadControl.ElementInvalidatedRadControl.ToolTipTextNeededRadControl.ScreenTipNeededRadControl.ThemeNameChangedRadControl.InitializedRadControl.PropertyChangedRadControl.ZoomGestureRadControl.RotateGestureRadControl.PanGestureRadControl.TwoFingerTapGestureRadControl.PressAndTapGestureScrollableControl.ScrollStateAutoScrollingScrollableControl.ScrollStateHScrollVisibleScrollableControl.ScrollStateVScrollVisibleScrollableControl.ScrollStateUserHasScrolledScrollableControl.ScrollStateFullDragScrollableControl.AdjustFormScrollbars(bool)ScrollableControl.GetScrollState(int)ScrollableControl.OnPaintBackground(PaintEventArgs)ScrollableControl.SetDisplayRectLocation(int, int)ScrollableControl.ScrollControlIntoView(Control)ScrollableControl.ScrollToControl(Control)ScrollableControl.OnScroll(ScrollEventArgs)ScrollableControl.SetAutoScrollMargin(int, int)ScrollableControl.SetScrollState(int, bool)ScrollableControl.AutoScrollScrollableControl.AutoScrollMarginScrollableControl.AutoScrollPositionScrollableControl.AutoScrollMinSizeScrollableControl.DisplayRectangleScrollableControl.HScrollScrollableControl.HorizontalScrollScrollableControl.VScrollScrollableControl.VerticalScrollScrollableControl.ScrollControl.GetAccessibilityObjectById(int)Control.SetAutoSizeMode(AutoSizeMode)Control.GetAutoSizeMode()Control.AccessibilityNotifyClients(AccessibleEvents, int)Control.AccessibilityNotifyClients(AccessibleEvents, int, int)Control.BeginInvoke(Delegate)Control.BeginInvoke(Delegate, params object[])Control.BringToFront()Control.Contains(Control)Control.CreateAccessibilityInstance()Control.CreateGraphics()Control.CreateHandle()Control.CreateControl()Control.DefWndProc(ref Message)Control.DestroyHandle()Control.DoDragDrop(object, DragDropEffects)Control.DrawToBitmap(Bitmap, Rectangle)Control.EndInvoke(IAsyncResult)Control.FindForm()Control.GetTopLevel()Control.RaiseKeyEvent(object, KeyEventArgs)Control.RaiseMouseEvent(object, MouseEventArgs)Control.Focus()Control.FromChildHandle(IntPtr)Control.FromHandle(IntPtr)Control.GetChildAtPoint(Point, GetChildAtPointSkip)Control.GetChildAtPoint(Point)Control.GetContainerControl()Control.GetScaledBounds(Rectangle, SizeF, BoundsSpecified)Control.GetNextControl(Control, bool)Control.GetStyle(ControlStyles)Control.Hide()Control.InitLayout()Control.Invalidate(Region)Control.Invalidate(Region, bool)Control.Invalidate()Control.Invalidate(bool)Control.Invalidate(Rectangle)Control.Invalidate(Rectangle, bool)Control.Invoke(Delegate)Control.Invoke(Delegate, params object[])Control.InvokePaint(Control, PaintEventArgs)Control.InvokePaintBackground(Control, PaintEventArgs)Control.IsKeyLocked(Keys)Control.IsInputChar(char)Control.IsMnemonic(char, string)Control.LogicalToDeviceUnits(int)Control.LogicalToDeviceUnits(Size)Control.ScaleBitmapLogicalToDevice(ref Bitmap)Control.NotifyInvalidate(Rectangle)Control.InvokeOnClick(Control, EventArgs)Control.OnBackgroundImageChanged(EventArgs)Control.OnBackgroundImageLayoutChanged(EventArgs)Control.OnCausesValidationChanged(EventArgs)Control.OnContextMenuChanged(EventArgs)Control.OnContextMenuStripChanged(EventArgs)Control.OnCursorChanged(EventArgs)Control.OnDockChanged(EventArgs)Control.OnNotifyMessage(Message)Control.OnParentBackColorChanged(EventArgs)Control.OnParentBackgroundImageChanged(EventArgs)Control.OnParentBindingContextChanged(EventArgs)Control.OnParentCursorChanged(EventArgs)Control.OnParentEnabledChanged(EventArgs)Control.OnParentFontChanged(EventArgs)Control.OnParentForeColorChanged(EventArgs)Control.OnParentRightToLeftChanged(EventArgs)Control.OnParentVisibleChanged(EventArgs)Control.OnPrint(PaintEventArgs)Control.OnTabIndexChanged(EventArgs)Control.OnTabStopChanged(EventArgs)Control.OnTextChanged(EventArgs)Control.OnClientSizeChanged(EventArgs)Control.OnHandleCreated(EventArgs)Control.OnDragEnter(DragEventArgs)Control.OnDragOver(DragEventArgs)Control.OnDragLeave(EventArgs)Control.OnDragDrop(DragEventArgs)Control.OnGiveFeedback(GiveFeedbackEventArgs)Control.OnEnter(EventArgs)Control.InvokeGotFocus(Control, EventArgs)Control.OnHelpRequested(HelpEventArgs)Control.OnInvalidated(InvalidateEventArgs)Control.OnLeave(EventArgs)Control.InvokeLostFocus(Control, EventArgs)Control.OnMarginChanged(EventArgs)Control.OnMouseClick(MouseEventArgs)Control.OnDpiChangedBeforeParent(EventArgs)Control.OnDpiChangedAfterParent(EventArgs)Control.OnMove(EventArgs)Control.OnQueryContinueDrag(QueryContinueDragEventArgs)Control.OnRegionChanged(EventArgs)Control.OnResize(EventArgs)Control.OnSizeChanged(EventArgs)Control.OnChangeUICues(UICuesEventArgs)Control.OnStyleChanged(EventArgs)Control.OnSystemColorsChanged(EventArgs)Control.OnValidating(CancelEventArgs)Control.OnValidated(EventArgs)Control.RescaleConstantsForDpi(int, int)Control.PerformLayout()Control.PerformLayout(Control, string)Control.PointToClient(Point)Control.PointToScreen(Point)Control.PreProcessMessage(ref Message)Control.PreProcessControlMessage(ref Message)Control.ProcessCmdKey(ref Message, Keys)Control.ProcessDialogChar(char)Control.ProcessDialogKey(Keys)Control.ProcessKeyEventArgs(ref Message)Control.ProcessKeyMessage(ref Message)Control.ProcessKeyPreview(ref Message)Control.RaiseDragEvent(object, DragEventArgs)Control.RaisePaintEvent(object, PaintEventArgs)Control.RecreateHandle()Control.RectangleToClient(Rectangle)Control.RectangleToScreen(Rectangle)Control.ReflectMessage(IntPtr, ref Message)Control.ResetMouseEventArgs()Control.ResetText()Control.ResumeLayout()Control.ResumeLayout(bool)Control.Scale(SizeF)Control.Select()Control.Select(bool, bool)Control.SelectNextControl(Control, bool, bool, bool, bool)Control.SendToBack()Control.SetBounds(int, int, int, int)Control.SetBounds(int, int, int, int, BoundsSpecified)Control.SetClientSizeCore(int, int)Control.SizeFromClientSize(Size)Control.SetStyle(ControlStyles, bool)Control.SetTopLevel(bool)Control.SetVisibleCore(bool)Control.RtlTranslateAlignment(HorizontalAlignment)Control.RtlTranslateAlignment(LeftRightAlignment)Control.RtlTranslateAlignment(ContentAlignment)Control.RtlTranslateHorizontal(HorizontalAlignment)Control.RtlTranslateLeftRight(LeftRightAlignment)Control.RtlTranslateContent(ContentAlignment)Control.Show()Control.SuspendLayout()Control.Update()Control.UpdateBounds()Control.UpdateBounds(int, int, int, int)Control.UpdateBounds(int, int, int, int, int, int)Control.UpdateZOrder()Control.UpdateStyles()Control.OnImeModeChanged(EventArgs)Control.AccessibilityObjectControl.AccessibleDefaultActionDescriptionControl.AccessibleDescriptionControl.AccessibleNameControl.AccessibleRoleControl.AllowDropControl.AnchorControl.AutoScrollOffsetControl.LayoutEngineControl.BackgroundImageControl.BackgroundImageLayoutControl.BindingContextControl.BottomControl.BoundsControl.CanFocusControl.CanRaiseEventsControl.CanSelectControl.CaptureControl.CheckForIllegalCrossThreadCallsControl.ClientRectangleControl.ClientSizeControl.CompanyNameControl.ContainsFocusControl.ContextMenuControl.ContextMenuStripControl.ControlsControl.CreatedControl.DataBindingsControl.DefaultBackColorControl.DefaultCursorControl.DefaultFontControl.DefaultForeColorControl.DefaultMaximumSizeControl.DefaultMinimumSizeControl.DefaultPaddingControl.DeviceDpiControl.IsDisposedControl.DisposingControl.DockControl.DoubleBufferedControl.EnabledControl.FocusedControl.FontHeightControl.HandleControl.HasChildrenControl.HeightControl.IsHandleCreatedControl.InvokeRequiredControl.IsAccessibleControl.IsMirroredControl.LeftControl.LocationControl.MarginControl.ModifierKeysControl.MouseButtonsControl.MousePositionControl.NameControl.ParentControl.ProductNameControl.ProductVersionControl.RecreatingHandleControl.RegionControl.RenderRightToLeftControl.ResizeRedrawControl.RightControl.RightToLeftControl.ScaleChildrenControl.SizeControl.TabIndexControl.TabStopControl.TagControl.TopControl.TopLevelControlControl.ShowKeyboardCuesControl.ShowFocusCuesControl.UseWaitCursorControl.VisibleControl.WidthControl.PreferredSizeControl.CanEnableImeControl.DefaultImeModeControl.ImeModeControl.ImeModeBaseControl.PropagatingImeModeControl.BackColorChangedControl.BackgroundImageChangedControl.BackgroundImageLayoutChangedControl.BindingContextChangedControl.CausesValidationChangedControl.ClientSizeChangedControl.ContextMenuChangedControl.ContextMenuStripChangedControl.CursorChangedControl.DockChangedControl.EnabledChangedControl.FontChangedControl.ForeColorChangedControl.LocationChangedControl.MarginChangedControl.RegionChangedControl.RightToLeftChangedControl.SizeChangedControl.TabIndexChangedControl.TabStopChangedControl.TextChangedControl.VisibleChangedControl.ClickControl.ControlAddedControl.ControlRemovedControl.DragDropControl.DragEnterControl.DragOverControl.DragLeaveControl.GiveFeedbackControl.HandleCreatedControl.HandleDestroyedControl.HelpRequestedControl.InvalidatedControl.PaddingChangedControl.PaintControl.QueryContinueDragControl.QueryAccessibilityHelpControl.DoubleClickControl.EnterControl.GotFocusControl.KeyDownControl.KeyPressControl.KeyUpControl.LayoutControl.LeaveControl.LostFocusControl.MouseClickControl.MouseDoubleClickControl.MouseCaptureChangedControl.MouseDownControl.MouseEnterControl.MouseLeaveControl.DpiChangedBeforeParentControl.DpiChangedAfterParentControl.MouseHoverControl.MouseMoveControl.MouseUpControl.MouseWheelControl.MoveControl.PreviewKeyDownControl.ResizeControl.ChangeUICuesControl.StyleChangedControl.SystemColorsChangedControl.ValidatingControl.ValidatedControl.ParentChangedControl.ImeModeChangedComponent.Dispose()Component.GetService(Type)Component.ToString()Component.EventsComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)

Constructors

RadSplitContainer()

Initializes a new instance of the RadSplitContainer class.

Declaration

cs-api-definition
public RadSplitContainer()

RadSplitContainer(Orientation)

Initializes a new instance of the RadSplitContainer class with the specified orientation.

Declaration

cs-api-definition
public RadSplitContainer(Orientation orientation)

Parameters

orientation

Orientation

The orientation of the split container.

Properties

ContentRectangle

Declaration

cs-api-definition
[Browsable(false)]
public virtual Rectangle ContentRectangle { get; }

Property Value

Rectangle

Cursor

Gets or sets the cursor that is displayed when the mouse pointer is over the control.

Declaration

cs-api-definition
[Browsable(false)]
public override Cursor Cursor { get; set; }

Property Value

Cursor

Overrides Control.Cursor

EnableCollapsing

Determines whether the panels can be collapsed when clicking twice on splitter or click once on navigation button. If you disable collapsing, UseSplitterButtons will also be disabled.

Declaration

cs-api-definition
public bool EnableCollapsing { get; set; }

Property Value

bool

EnableImmediateResize

Gets a value indicating whether the bounds of the split panels should be updated immediately on drag.

Declaration

cs-api-definition
[Browsable(true)]
public bool EnableImmediateResize { get; set; }

Property Value

bool

HasNonCollapsedChild

Declaration

cs-api-definition
[Browsable(false)]
public bool HasNonCollapsedChild { get; }

Property Value

bool

HasVisibleSplitPanels

Declaration

cs-api-definition
[Browsable(false)]
public bool HasVisibleSplitPanels { get; }

Property Value

bool

HorizontalResizeCursor

Gets or sets the cursor which is used while resizing a panel and the control`s orientation is horizontal.

Declaration

cs-api-definition
[Browsable(true)]
public virtual Cursor HorizontalResizeCursor { get; set; }

Property Value

Cursor

LayoutStrategy

Gets or sets the layout strategy that arranges all the visible SplitPanel children.

Declaration

cs-api-definition
[Browsable(false)]
public SplitContainerLayoutStrategy LayoutStrategy { get; set; }

Property Value

SplitContainerLayoutStrategy

NavigationButtonCursor

Gets or sets the cursor which is used while the mouse is over the navigation buttons.

Declaration

cs-api-definition
[Browsable(true)]
public virtual Cursor NavigationButtonCursor { get; set; }

Property Value

Cursor

Orientation

Gets or sets a value indicating the horizontal or vertical orientation of the Telerik.WinControls.UI.RadSplitContainer panels.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

RootContainer

Declaration

cs-api-definition
[Browsable(false)]
public RadSplitContainer RootContainer { get; }

Property Value

RadSplitContainer

SplitContainerElement

Gets the split container element.

Declaration

cs-api-definition
[Browsable(false)]
public SplitContainerElement SplitContainerElement { get; }

Property Value

SplitContainerElement

SplitPanels

Declaration

cs-api-definition
[Browsable(false)]
public SplitPanelCollection SplitPanels { get; }

Property Value

SplitPanelCollection

SplitterWidth

Gets or sets the width of a single splitter on the container. Specify zero to prevent displaying any splitters at all.

Declaration

cs-api-definition
public virtual int SplitterWidth { get; set; }

Property Value

int

Splitters

Declaration

cs-api-definition
[Browsable(false)]
public SplitterCollection Splitters { get; }

Property Value

SplitterCollection

ThemeClassName

Gets or sets the class name string that ThemeResolutionService will use to find the themes registered for the control.

Declaration

cs-api-definition
[Browsable(false)]
public override string ThemeClassName { get; set; }

Property Value

string

Overrides SplitPanel.ThemeClassName

Remarks

By default the return value is RadControl's type FullName; Some controls like drop down menu has different ThemeClassName depending on the runtime usage of the control.

UseSplitterButtons

Enable and Disable navigation buttons. If you enable the buttons EnableCollapsing will also be enabled.

Declaration

cs-api-definition
public bool UseSplitterButtons { get; set; }

Property Value

bool

VerticalResizeCursor

Gets or sets the cursor which is used while resizing a panel and the control`s orientation is vertical.

Declaration

cs-api-definition
[Browsable(true)]
public virtual Cursor VerticalResizeCursor { get; set; }

Property Value

Cursor

Methods

ApplyThemeToSplitterElements()

Applies theme to all SplitterElements.

Declaration

cs-api-definition
protected virtual void ApplyThemeToSplitterElements()

CalculateSplitterDistance(RadDirection, int, int, int, int)

Calculates the splitter distance based on the specified direction and bounds.

Declaration

cs-api-definition
protected virtual void CalculateSplitterDistance(RadDirection direction, int initialSplitterDistance, int lastSplitterPosition, int boundsMinimum, int boundsMaximum)

Parameters

direction

RadDirection

The direction to move the splitter.

initialSplitterDistance

int

The initial splitter distance.

lastSplitterPosition

int

The last splitter position.

boundsMinimum

int

The minimum bounds value.

boundsMaximum

int

The maximum bounds value.

Construct()

Declaration

cs-api-definition
protected override void Construct()

Overrides RadControl.Construct()

CreateChildItems(RadElement)

Creates the main panel element and adds it in the root element.

Declaration

cs-api-definition
protected override void CreateChildItems(RadElement parent)

Parameters

parent

RadElement

Overrides SplitPanel.CreateChildItems(RadElement)

CreateControlsInstance()

Declaration

cs-api-definition
protected override Control.ControlCollection CreateControlsInstance()

Returns

Control.ControlCollection

Overrides Control.CreateControlsInstance()

GetSplitterElementAndButtonElementAtPoint(Point, out SplitterElement, out RadButtonElement)

Gets the SplitterElement and RadButtonElement whose rectangles contain the specified point.

Declaration

cs-api-definition
public virtual void GetSplitterElementAndButtonElementAtPoint(Point clientPoint, out SplitterElement splitter, out RadButtonElement button)

Parameters

clientPoint

Point

The point to test, in SplitContainer client coordinates.

splitter

SplitterElement

When this method returns, contains the SplitterElement at the specified point, or null if no splitter is found.

button

RadButtonElement

When this method returns, contains the RadButtonElement at the specified point, or null if no button is found.

GetSplitterElementAtPoint(Point)

Gets the SplitterElement which rectangle contains the specified point.

Declaration

cs-api-definition
public virtual SplitterElement GetSplitterElementAtPoint(Point clientPoint)

Parameters

clientPoint

Point

Point to test, in SplitContainer client coordinates.

Returns

SplitterElement

SplitterElement if found, null otherwise.

LayoutInternal()

Performs the internal layout logic for the split container.

Declaration

cs-api-definition
protected void LayoutInternal()

MoveSplitter(SplitterElement, RadDirection)

Moves the specified splitter in the given direction.

Declaration

cs-api-definition
public void MoveSplitter(SplitterElement splitter, RadDirection direction)

Parameters

splitter

SplitterElement

The splitter element to move.

direction

RadDirection

The direction to move the splitter.

OnChildPanelCollapsedChanged(SplitPanel)

Called when a child panel's collapsed state changes.

Declaration

cs-api-definition
protected virtual void OnChildPanelCollapsedChanged(SplitPanel child)

Parameters

child

SplitPanel

The child panel whose collapsed state changed.

OnControlRemoved(ControlEventArgs)

Called when a control is removed from the split container.

Declaration

cs-api-definition
protected override void OnControlRemoved(ControlEventArgs e)

Parameters

e

ControlEventArgs

The event arguments containing information about the removed control.

Overrides SplitPanel.OnControlRemoved(ControlEventArgs)

OnLayout(LayoutEventArgs)

Called when the layout needs to be performed.

Declaration

cs-api-definition
protected override void OnLayout(LayoutEventArgs e)

Parameters

e

LayoutEventArgs

The layout event arguments.

Overrides RadControl.OnLayout(LayoutEventArgs)

OnLoad(Size)

Called when the control is loaded with the specified desired size.

Declaration

cs-api-definition
protected override void OnLoad(Size desiredSize)

Parameters

desiredSize

Size

The desired size of the control.

Overrides RadControl.OnLoad(Size)

OnMouseDoubleClick(MouseEventArgs)

Called when the control is double-clicked.

Declaration

cs-api-definition
protected override void OnMouseDoubleClick(MouseEventArgs e)

Parameters

e

MouseEventArgs

The mouse event arguments.

Overrides Control.OnMouseDoubleClick(MouseEventArgs)

OnMouseDown(MouseEventArgs)

Called when a mouse button is pressed over the control.

Declaration

cs-api-definition
protected override void OnMouseDown(MouseEventArgs e)

Parameters

e

MouseEventArgs

The mouse event arguments.

Overrides RadControl.OnMouseDown(MouseEventArgs)

OnMouseLeave(EventArgs)

Called when the mouse pointer leaves the control.

Declaration

cs-api-definition
protected override void OnMouseLeave(EventArgs e)

Parameters

e

EventArgs

The event arguments.

Overrides RadControl.OnMouseLeave(EventArgs)

OnMouseMove(MouseEventArgs)

Called when the mouse pointer moves over the control.

Declaration

cs-api-definition
protected override void OnMouseMove(MouseEventArgs e)

Parameters

e

MouseEventArgs

The mouse event arguments.

Overrides RadControl.OnMouseMove(MouseEventArgs)

OnMouseUp(MouseEventArgs)

Called when a mouse button is released over the control.

Declaration

cs-api-definition
protected override void OnMouseUp(MouseEventArgs e)

Parameters

e

MouseEventArgs

The mouse event arguments.

Overrides RadControl.OnMouseUp(MouseEventArgs)

OnNavigationButtonClick(object, EventArgs)

Called when a navigation button is clicked.

Declaration

cs-api-definition
protected virtual void OnNavigationButtonClick(object sender, EventArgs e)

Parameters

sender

object

The source of the event.

e

EventArgs

The event arguments.

OnOrientationChanged(EventArgs)

Called when the orientation of the split container changes.

Declaration

cs-api-definition
protected virtual void OnOrientationChanged(EventArgs e)

Parameters

e

EventArgs

The event arguments.

OnPanelCollapsed(SplitterElement, EventArgs)

Raises the PanelCollapsed event.

Declaration

cs-api-definition
public virtual void OnPanelCollapsed(SplitterElement splitter, EventArgs e)

Parameters

splitter

SplitterElement

The splitter element involved in the operation.

e

EventArgs

The event arguments.

OnPanelCollapsing(SplitterElement, PanelCollapsingEventArgs)

Raises the PanelCollapsing event.

Declaration

cs-api-definition
public virtual void OnPanelCollapsing(SplitterElement splitter, RadSplitContainer.PanelCollapsingEventArgs e)

Parameters

splitter

SplitterElement

The splitter element involved in the operation.

e

RadSplitContainer.PanelCollapsingEventArgs

The event arguments containing panel collapsing information.

OnParentChanged(EventArgs)

Called when the parent of the control changes.

Declaration

cs-api-definition
protected override void OnParentChanged(EventArgs e)

Parameters

e

EventArgs

The event arguments.

Overrides RadControl.OnParentChanged(EventArgs)

OnSplitterMoved(SplitterEventArgs)

Raises the SplitterMoved event.

Declaration

cs-api-definition
protected virtual void OnSplitterMoved(SplitterEventArgs e)

Parameters

e

SplitterEventArgs

The event arguments containing splitter movement information.

OnSplitterMoving(SplitterCancelEventArgs)

Raises the SplitterMoving event.

Declaration

cs-api-definition
protected virtual void OnSplitterMoving(SplitterCancelEventArgs e)

Parameters

e

SplitterCancelEventArgs

The event arguments containing splitter movement information.

OnThemeChanged()

Called when the theme of the control changes.

Declaration

cs-api-definition
protected override void OnThemeChanged()

Overrides RadControl.OnThemeChanged()

ResetBackColorThemeOverrides()

Resets theme overrides for the background color property.

Declaration

cs-api-definition
protected override void ResetBackColorThemeOverrides()

Overrides RadControl.ResetBackColorThemeOverrides()

RestoreSplitterPosition(SplitterElement)

Restores the splitter to its last known position.

Declaration

cs-api-definition
public void RestoreSplitterPosition(SplitterElement splitter)

Parameters

splitter

SplitterElement

The splitter element to restore.

SetBackColorThemeOverrides()

Sets theme overrides for the background color property.

Declaration

cs-api-definition
protected override void SetBackColorThemeOverrides()

Overrides RadControl.SetBackColorThemeOverrides()

UpdateSplitter(SplitContainerLayoutInfo, int, Rectangle)

Updates the splitter, associated with the specified index of a child SplitPanel.

Declaration

cs-api-definition
protected virtual void UpdateSplitter(SplitContainerLayoutInfo info, int panelIndex, Rectangle bounds)

Parameters

info

SplitContainerLayoutInfo

The layout info, containing information about the operation.

panelIndex

int

The index of the panel for which the splitter should be updated.

bounds

Rectangle

The bounding rectangle of the splitter.

Events

PanelCollapsed

Occurs when a panel has collapsed.

Declaration

cs-api-definition
public event RadSplitContainer.PanelCollapsedEventHandler PanelCollapsed

Event Value

RadSplitContainer.PanelCollapsedEventHandler

PanelCollapsedChanged

Occurs when the collapsed state of any panel changes.

Declaration

cs-api-definition
public event SplitPanelEventHandler PanelCollapsedChanged

Event Value

SplitPanelEventHandler

PanelCollapsing

Occurs when a panel is collapsing.

Declaration

cs-api-definition
public event RadSplitContainer.PanelCollapsingEventHandler PanelCollapsing

Event Value

RadSplitContainer.PanelCollapsingEventHandler

SplitterMoved

Occurs when any of the splitters is moved.

Declaration

cs-api-definition
[Browsable(true)]
public event SplitterEventHandler SplitterMoved

Event Value

SplitterEventHandler

SplitterMoving

Occurs when any of the splitters is moving.

Declaration

cs-api-definition
[Browsable(true)]
public event SplitterCancelEventHandler SplitterMoving

Event Value

SplitterCancelEventHandler

In this article
DefinitionConstructorsRadSplitContainer()RadSplitContainer(Orientation)PropertiesContentRectangleCursorEnableCollapsingEnableImmediateResizeHasNonCollapsedChildHasVisibleSplitPanelsHorizontalResizeCursorLayoutStrategyNavigationButtonCursorOrientationRootContainerSplitContainerElementSplitPanelsSplitterWidthSplittersThemeClassNameUseSplitterButtonsVerticalResizeCursorMethodsApplyThemeToSplitterElements()CalculateSplitterDistance(RadDirection, int, int, int, int)Construct()CreateChildItems(RadElement)CreateControlsInstance()GetSplitterElementAndButtonElementAtPoint(Point, out SplitterElement, out RadButtonElement)GetSplitterElementAtPoint(Point)LayoutInternal()MoveSplitter(SplitterElement, RadDirection)OnChildPanelCollapsedChanged(SplitPanel)OnControlRemoved(ControlEventArgs)OnLayout(LayoutEventArgs)OnLoad(Size)OnMouseDoubleClick(MouseEventArgs)OnMouseDown(MouseEventArgs)OnMouseLeave(EventArgs)OnMouseMove(MouseEventArgs)OnMouseUp(MouseEventArgs)OnNavigationButtonClick(object, EventArgs)OnOrientationChanged(EventArgs)OnPanelCollapsed(SplitterElement, EventArgs)OnPanelCollapsing(SplitterElement, PanelCollapsingEventArgs)OnParentChanged(EventArgs)OnSplitterMoved(SplitterEventArgs)OnSplitterMoving(SplitterCancelEventArgs)OnThemeChanged()ResetBackColorThemeOverrides()RestoreSplitterPosition(SplitterElement)SetBackColorThemeOverrides()UpdateSplitter(SplitContainerLayoutInfo, int, Rectangle)EventsPanelCollapsedPanelCollapsedChangedPanelCollapsingSplitterMovedSplitterMoving
Not finding the help you need?
Contact Support