SplitterElement
Represents a splitter element that provides a resizable divider between two panels or controls. This element includes visual splitter buttons for collapsing and expanding panels, and supports both horizontal and vertical orientations.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class SplitterElement : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemSplitterElement...
Implements:
Inherited Members
Constructors
public SplitterElement()
Fields
Identifies the Dock dependency property for the splitter element.
public static RadProperty DockProperty
Identifies the HorizontalImage dependency property for the splitter element.
public static RadProperty HorizontalImageProperty
Identifies the IsCollapsed dependency property for the splitter element.
public static RadProperty IsCollapsedProperty
Identifies the IsVertical dependency property for the splitter element.
public static RadProperty IsVerticalProperty
Identifies the SplitterAlignment dependency property for the splitter element.
public static RadProperty SplitterAlignmentProperty
Identifies the SplitterWidth dependency property for the splitter element.
public static RadProperty SplitterWidthProperty
Identifies the VerticalImage dependency property for the splitter element.
public static RadProperty VerticalImageProperty
Properties
Gets the background fill primitive element.
[Browsable(false)]
public FillPrimitive BackgroundFill { get; }
Gets the border primitive element.
[Browsable(false)]
public BorderPrimitive Border { get; }
Gets or sets the default collapse direction when using double click on the splitter element to collapse a panel. If you set Up/Down for Vertical splitter or Left/Right for Horizontal splitter, an InvalidEnumArgumentException will be thrown when double click is fired.
public RadDirection DefaultCollapseDirection { get; set; }
Gets or sets the docking position of the splitter element.
public DockStyle Dock { get; set; }
Gets or sets a value indicating whether the splitter is fixed and cannot be resized by the user.
public bool Fixed { get; set; }
Gets or sets the image used by the splitter when in horizontal orientation.
public RadImageShape HorizontalImage { get; set; }
Gets or sets a value indicating whether the splitter is currently collapsed.
[Browsable(false)]
public bool IsCollapsed { get; set; }
Gets or sets the last recorded position of the splitter.
public int LastSplitterPosition { get; set; }
Gets the layout element that manages the splitter's child elements.
[Browsable(false)]
public SplitterElementLayout Layout { get; }
Gets or sets the left node object associated with the splitter.
public object LeftNode { get; set; }
Gets the next arrow primitive element.
public ArrowPrimitive NextArrow { get; }
Gets the next navigation button element used for collapsing panels.
public RadItem NextNavigationButton { get; }
Gets the previous arrow primitive element.
public ArrowPrimitive PrevArrow { get; }
Gets the previous navigation button element used for collapsing panels.
public RadItem PrevNavigationButton { get; }
Gets or sets the right node object associated with the splitter.
public object RightNode { get; set; }
Gets or sets the alignment direction of the splitter.
[Browsable(false)]
public RadDirection SplitterAlignment { get; set; }
Gets or sets the width of the splitter element in pixels.
[Browsable(true)]
public int SplitterWidth { get; set; }
Gets or sets the length of the splitter thumb buttons in pixels.
public int ThumbLength { get; set; }
Gets or sets the image used by the splitter when in vertical orientation.
public RadImageShape VerticalImage { get; set; }
Methods
Creates the child elements that compose the splitter element.
protected override void CreateChildElements()
Overrides:
Handles property changes for the splitter element.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The event arguments containing property change information.
Overrides:
Updates the layout of the splitter buttons based on the Fixed property.
protected virtual void UpdateButtonsLayout()