ClassSplitterElement
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
SplitterElement()
Declaration
public SplitterElement()
Fields
DockProperty
Identifies the Dock dependency property for the splitter element.
HorizontalImageProperty
Identifies the HorizontalImage dependency property for the splitter element.
Declaration
public static RadProperty HorizontalImageProperty
Field Value
IsCollapsedProperty
Identifies the IsCollapsed dependency property for the splitter element.
IsVerticalProperty
Identifies the IsVertical dependency property for the splitter element.
SplitterAlignmentProperty
Identifies the SplitterAlignment dependency property for the splitter element.
Declaration
public static RadProperty SplitterAlignmentProperty
Field Value
SplitterWidthProperty
Identifies the SplitterWidth dependency property for the splitter element.
Declaration
public static RadProperty SplitterWidthProperty
Field Value
VerticalImageProperty
Identifies the VerticalImage dependency property for the splitter element.
Declaration
public static RadProperty VerticalImageProperty
Field Value
Properties
BackgroundFill
Gets the background fill primitive element.
Declaration
[Browsable(false)]
public FillPrimitive BackgroundFill { get; }
Property Value
Border
Gets the border primitive element.
Declaration
[Browsable(false)]
public BorderPrimitive Border { get; }
Property Value
DefaultCollapseDirection
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.
Declaration
public RadDirection DefaultCollapseDirection { get; set; }
Property Value
Dock
Gets or sets the docking position of the splitter element.
Fixed
Gets or sets a value indicating whether the splitter is fixed and cannot be resized by the user.
HorizontalImage
Gets or sets the image used by the splitter when in horizontal orientation.
Declaration
public RadImageShape HorizontalImage { get; set; }
Property Value
IsCollapsed
Gets or sets a value indicating whether the splitter is currently collapsed.
Declaration
[Browsable(false)]
public bool IsCollapsed { get; set; }
Property Value
LastSplitterPosition
Gets or sets the last recorded position of the splitter.
Layout
Gets the layout element that manages the splitter's child elements.
Declaration
[Browsable(false)]
public SplitterElementLayout Layout { get; }
Property Value
LeftNode
Gets or sets the left node object associated with the splitter.
NextArrow
Gets the next arrow primitive element.
Declaration
public ArrowPrimitive NextArrow { get; }
Property Value
NextNavigationButton
Gets the next navigation button element used for collapsing panels.
PrevArrow
Gets the previous arrow primitive element.
Declaration
public ArrowPrimitive PrevArrow { get; }
Property Value
PrevNavigationButton
Gets the previous navigation button element used for collapsing panels.
RightNode
Gets or sets the right node object associated with the splitter.
SplitterAlignment
Gets or sets the alignment direction of the splitter.
Declaration
[Browsable(false)]
public RadDirection SplitterAlignment { get; set; }
Property Value
SplitterWidth
Gets or sets the width of the splitter element in pixels.
Declaration
[Browsable(true)]
public int SplitterWidth { get; set; }
Property Value
ThumbLength
Gets or sets the length of the splitter thumb buttons in pixels.
VerticalImage
Gets or sets the image used by the splitter when in vertical orientation.
Declaration
public RadImageShape VerticalImage { get; set; }
Property Value
Methods
CreateChildElements()
Creates the child elements that compose the splitter element.
Declaration
protected override void CreateChildElements()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles property changes for the splitter element.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The event arguments containing property change information.
Overrides
UpdateButtonsLayout()
Updates the layout of the splitter buttons based on the Fixed property.
Declaration
protected virtual void UpdateButtonsLayout()