SplitPanel
A child control hosted by RadSplitContainer; its sizing is configured through SizeInfo.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class SplitPanel : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlSplitPanel...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the SplitPanel class with default settings.
public SplitPanel()
Properties
Gets or sets the border style applied to the edges of the SplitPanel.
public BorderStyle BorderStyle { get; set; }
Gets or sets whether the panel is collapsed. Changing the value also changes Visible and notifies its owning container.
public virtual bool Collapsed { get; set; }
Gets the command bindings registered for this panel's keyboard input.
[Browsable(false)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public InputBindingsCollection CommandBindings { get; }
Configures the native control-parent style and applies the window border specified by BorderStyle.
protected override CreateParams CreateParams { get; }
Overrides:
Gets the zero margin used when this panel participates in split-container layout.
protected override Padding DefaultMargin { get; }
Overrides:
Gets the initial size assigned to a new split panel.
protected override Size DefaultSize { get; }
Overrides:
Gets the visual element tree whose root contains this panel's SplitPanelElement.
[Browsable(false)]
public override ComponentThemableElementTree ElementTree { get; }
Overrides:
Gets or sets whether this control participates in the inherited keyboard key-map processing.
[Browsable(false)]
public bool EnableKeyMap { get; set; }
Gets or sets the inherited image-scaling size setting.
[Browsable(false)]
public Size ImageScalingSize { get; set; }
Gets whether the panel is hosted by a designer.
[Browsable(false)]
public bool IsDesignMode { get; }
Gets the maximum size used by split-container layout. Assignments are forwarded to the base control property; set MaximumSize to configure the layout constraint.
[Browsable(false)]
public override Size MaximumSize { get; set; }
Overrides:
Gets the minimum size used by split-container layout. Assignments are forwarded to the base control property; set MinimumSize to configure the layout constraint.
[Browsable(false)]
public override Size MinimumSize { get; set; }
Overrides:
Gets the object that contains sizing information and behavior settings for this SplitPanel.
public SplitPanelSizeInfo SizeInfo { get; }
Gets the RadSplitContainer that directly owns this panel, or null when it is not directly hosted.
[Browsable(false)]
public RadSplitContainer SplitContainer { get; }
Gets the main SplitPanelElement in this panel's visual tree.
[Browsable(false)]
public SplitPanelElement SplitPanelElement { get; }
Gets or sets the theme class name used when resolving styles for this panel.
[Browsable(false)]
public override string ThemeClassName { get; set; }
Overrides:
Methods
Creates the main panel element and adds it in the root element.
protected override void CreateChildItems(RadElement parent)
Overrides:
Raises the control-tree change notification after a child control is added.
protected override void OnControlAdded(ControlEventArgs e)
The added control.
Overrides:
Raises the control-tree change notification after a child control is removed.
protected override void OnControlRemoved(ControlEventArgs e)
The removed control.
Overrides:
Bubbles a control-tree change to an enclosing split panel, then raises this panel's ControlTreeChanged event.
protected virtual void OnControlTreeChanged(ControlTreeChangedEventArgs args)
The parent, child, and action describing the change.
Updates the sizing information's DPI scale after the base control scales its bounds.
protected override void ScaleControl(SizeF factor, BoundsSpecified specified)
The scale factor applied to the control.
specifiedBoundsSpecifiedThe bounds components affected by scaling.
Overrides:
Applies the requested bounds, using the element tree's desired size for a loaded control whose bounds are changing.
protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
The requested left coordinate.
yintThe requested top coordinate.
widthintThe requested width.
heightintThe requested height.
specifiedBoundsSpecifiedThe bounds components to apply.
Overrides:
Routes canceled mouse-move validation messages directly to the default window procedure.
protected override void WndProc(ref Message m)
The window message being processed.
Overrides:
Events
Occurs when a control is added to or removed from this panel or one of its nested split panels.
public event ControlTreeChangedEventHandler ControlTreeChanged