SplitContainer
Wisej.Web.SplitContainer
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.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, ISupportInitializeConstructors
SplitContainer()
Initializes a new instance of the SplitContainer class.
Properties
BackgroundImage
Image: Returns or sets the background image displayed in the control.
BackgroundImageSource
String: Returns or sets the background image displayed in the control.
BindingContext
BindingContext: Returns or sets the BindingContext for the SplitContainer.
BorderStyle
BorderStyle: Returns or sets the style of border for the SplitContainer.
FixedPanel
FixedPanel: Returns or sets which SplitContainer panel remains the same size when the container is resized.
IsSplitterFixed
Boolean: Returns or sets whether the splitter is fixed or movable.
Orientation
Orientation: Returns or sets a value indicating the horizontal or vertical orientation of the SplitContainer panels.
Panel1
SplitterPanel: Returns the left or top panel of the SplitContainer, depending on Orientation.
Panel1Collapsed
Boolean: Returns or sets a value determining whether Panel1 is collapsed or expanded.
Panel1MinSize
Int32: Returns or sets the minimum distance in pixels of the splitter from the left or top edge of Panel1.
Throws:
ArgumentOutOfRangeException The specified value is incompatible with the orientation.
Panel2
SplitterPanel: Returns the right or bottom panel of the SplitContainer, depending on Orientation.
Panel2Collapsed
Boolean: Returns or sets a value determining whether Panel2 is collapsed or expanded.
Panel2MinSize
Int32: Returns or sets the minimum distance in pixels of the splitter from the right or bottom edge of Panel2.
Throws:
ArgumentOutOfRangeException The specified value is incompatible with the orientation.
SplitterDistance
Int32: Returns or sets the location of the splitter, in pixels, from the left or top edge of the SplitContainer.
Throws:
ArgumentOutOfRangeException The value is less than zero.
InvalidOperationException The value is incompatible with the orientation.
SplitterRectangle
Rectangle: Returns the size and location of the splitter relative to the SplitContainer.
SplitterWidth
Int32: Returns or sets the width of the splitter in pixels.
Throws:
ArgumentOutOfRangeException The value is less than one or is incompatible with the orientation.
Methods
ResetSplitterWidth()
Resets the size of the splitter to the value set in the theme.
Events
OrientationChanged
EventHandler Fired when the value of Orientation changes.
SplitterMoved
SplitterEventHandler Fired when the splitter control is moved.
SplitterMoving
SplitterCancelEventHandler Fired when the splitter control is in the process of moving.
Implements
Bindable components implement this interface.
Provides the functionality for a control to act as a parent for other controls.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Last updated
Was this helpful?

