Class SplitContainerElement
Represents the element that manages the layout and visual presentation of splitters within a RadSplitContainer. This element handles the positioning and behavior of individual splitter elements.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class SplitContainerElement : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Constructors
SplitContainerElement()
Declaration
public SplitContainerElement()
Fields
EnableCollapsingProperty
Defines a property that determines whether panels can be collapsed by user interaction.
Declaration
public static RadProperty EnableCollapsingProperty
Field Value
RadProperty
|
IsVerticalProperty
Defines a property that determines whether the splitters are arranged vertically or horizontally.
Declaration
public static RadProperty IsVerticalProperty
Field Value
RadProperty
|
SplitterWidthProperty
Defines a property that specifies the width of the splitters in the container.
Declaration
public static RadProperty SplitterWidthProperty
Field Value
RadProperty
|
UseSplitterButtonsProperty
Defines a property that determines whether navigation buttons are displayed on splitters.
Declaration
public static RadProperty UseSplitterButtonsProperty
Field Value
RadProperty
|
Properties
EnableCollapsing
Gets or sets a value indicating whether the panels can be collapsed when double-clicking on a splitter or clicking once on a navigation button.
Declaration
[RadPropertyDefaultValue("EnableCollapsing", typeof(SplitContainerElement))]
public bool EnableCollapsing { get; set; }
Property Value
System.Boolean
|
SplitterWidth
Gets or sets the width of each splitter within the container. The value is automatically adjusted to be non-negative.
Declaration
[RadPropertyDefaultValue("SplitterWidth", typeof(SplitContainerElement))]
public int SplitterWidth { get; set; }
Property Value
System.Int32
|
UseSplitterButtons
Gets or sets a value indicating whether navigation buttons are enabled and displayed on splitters.
Declaration
[RadPropertyDefaultValue("UseSplitterButtons", typeof(SplitContainerElement))]
public bool UseSplitterButtons { get; set; }
Property Value
System.Boolean
|
Methods
GetChildAt(Int32)
Gets the child element at the specified index, ensuring the container layout is up to date.
Declaration
public override RadElement GetChildAt(int index)
Parameters
System.Int32
index
The zero-based index of the child element to retrieve. |
Returns
RadElement
The RadElement at the specified index. |
Overrides
InitializeFields()
Initializes the fields for this SplitContainerElement instance.
Declaration
protected override void InitializeFields()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Called when a property value changes on this element. Handles updates to splitter width and orientation properties.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
The event arguments containing information about the property change. |