Skip to main content
Version: 4.1

SplitContainer

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents a control consisting of a movable bar that divides a container's display area into two resizable panels.

public class SplitContainer : ContainerControl, ISupportInitialize

Constructors

Instance member SplitContainer()

Initializes a new instance of the SplitContainer class.

Properties

Instance member BackgroundImage

Image: Returns or sets the background image displayed in the control. (Default: null)

Instance member BackgroundImageSource

String: Returns or sets the background image displayed in the control. (Default: null)

Instance member BindingContext

BindingContext: Returns or sets the BindingContext for the SplitContainer.

Instance member BorderStyle

BorderStyle: Returns or sets the style of border for the SplitContainer. (Default: Solid)

Protected member DefaultSize

Size: Returns the default size of the SplitContainer.

Instance member FixedPanel

FixedPanel: Returns or sets which SplitContainer panel remains the same size when the container is resized. (Default: None)

Instance member IsSplitterFixed

Boolean: Returns or sets whether the splitter is fixed or movable. (Default: False)

Instance member Orientation

Orientation: Returns or sets a value indicating the horizontal or vertical orientation of the SplitContainer panels. (Default: Vertical)

Instance member Panel1

SplitterPanel: Returns the left or top panel of the SplitContainer, depending on Orientation.

Instance member Panel1Collapsed

Boolean: Returns or sets a value determining whether Panel1 is collapsed or expanded. (Default: False)

Instance member Panel1MinSize

Int32: Returns or sets the minimum distance in pixels of the splitter from the left or top edge of Panel1. (Default: 25)

Throws:

Instance member Panel2

SplitterPanel: Returns the right or bottom panel of the SplitContainer, depending on Orientation.

Instance member Panel2Collapsed

Boolean: Returns or sets a value determining whether Panel2 is collapsed or expanded. (Default: False)

Instance member Panel2MinSize

Int32: Returns or sets the minimum distance in pixels of the splitter from the right or bottom edge of Panel2. (Default: 25)

Throws:

Instance member SplitterDistance

Int32: Returns or sets the location of the splitter, in pixels, from the left or top edge of the SplitContainer. (Default: 50)

Throws:

Instance member SplitterRectangle

Rectangle: Returns the size and location of the splitter relative to the SplitContainer.

Instance member SplitterWidth

Int32: Returns or sets the width of the splitter in pixels.

Throws:

Methods

Protected member OnCreateControl()

Protected member OnLayout(e)

Fires the Layout event.

ParameterTypeDescription
eLayoutEventArgsA LayoutEventArgs that contains the event data.

Protected member OnOrientationChanged(e)

Fires the OrientationChanged event.

ParameterTypeDescription
eEventArgsA EventArgs that contains the event data.

Protected member OnRightToLeftChanged(e)

Fires the RightToLeftChanged event.

ParameterTypeDescription
eEventArgsA EventArgs that contains the event data.

Protected member OnSplitterMoved(e)

Fires the SplitterMoved event.

ParameterTypeDescription
eSplitterEventArgsA SplitterEventArgs that contains the event data.

Protected member OnSplitterMoving(e)

Fires the SplitterMoving event.

ParameterTypeDescription
eSplitterCancelEventArgsA SplitterEventArgs that contains the event data.

Protected member OnWebEvent(e)

Processes the event from the client.

ParameterTypeDescription
eWisejEventArgsEvent arguments.

Protected member OnWebRender(config)

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Instance member ResetSplitterWidth()

Resets the size of the splitter to the value set in the theme.

Protected member SetBoundsCore(x, y, width, height, specified)

ParameterTypeDescription
xInt32The new Left property value of the control.
yInt32The new Top property value of the control.
widthInt32The new Width property value of the control.
heightInt32The new Height property value of the control.
specifiedBoundsSpecifiedA combination of the BoundsSpecified values.

Protected member UpdateZOrder()

Events

Instance member OrientationChanged

EventHandler Fired when the value of Orientation changes.

Instance member SplitterMoved

SplitterEventHandler Fired when the splitter control is moved.

Instance member SplitterMoving

SplitterCancelEventHandler Fired when the splitter control is in the process of moving.

Implements

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IBindableComponentBindable components implement this interface.
IContainerControlProvides the functionality for a control to act as a parent for other controls.
IDropTargetControls that support drag & drop operations implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.