System.Windows.Forms
1.0.5000.0
2.0.0.0
System.Windows.Forms.Control
System.ComponentModel.DefaultProperty("Dock")
System.ComponentModel.Designer("System.Windows.Forms.Design.SplitterDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.IDesigner")
System.ComponentModel.DefaultEvent("SplitterMoved")
System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)
System.Runtime.InteropServices.ComVisible(true)
The control enables the user to resize controls that are docked to the edges of the control at run time. When the user passes the mouse pointer over the control, the cursor changes to indicate that the controls docked to the control can be resized. The control enables the user to resize the docked control that is immediately before it in the docking order. Therefore, to enable the user to resize a docked control, dock the control you want the user to be able to resize to an edge of a container, and then dock a splitter to the same side of that container. For example, to create a window similar to Windows Explorer, add a control to a form and set its property to DockStyle.Left. Add a control to the form and set its property to DockStyle.Left as well. To complete the form layout, add a control and set its property to DockStyle.Fill to have the occupy the remaining space on the form. At run time, the user can then resize the width of the control (as well as the control) by moving the control.
To ensure that the control does not resize controls docked to a size that is too small to be useful to the user, you use the and properties. The and properties determine the minimum size that controls docked to the left and right (or top and bottom if a horizontal control) can be sized to. If the other controls on your form that the control is docked to display a specific style of border, you can use the property to match the border style of the controls that are docked to it.
You might want to set a maximum size limit on controls that the control is docked to. The and events enable you to determine when the user is resizing a docked control. You can use the property in an event handler for the or events to determine the size of the control that the control is docked to and set the property to a different value to limit the docked control's width to a specified maximum width (or height if a horizontally aligned control).
Resizing a control using the control can only be done using the mouse. It is not possible to access the control using the keyboard.
Represents a splitter control that enables the user to resize docked controls. has been replaced by and is provided only for compatibility with previous versions.
Constructor
By default, the and properties are set to 25. The property is set to DockStyle.Left by default.
Initializes a new instance of the class. has been replaced by , and is provided only for compatibility with previous versions.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Boolean
To be added.
This property is not relevant to this class.
This property is not relevant to this class.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.DefaultValue(System.Windows.Forms.AnchorStyles.None)
System.ComponentModel.Browsable(false)
System.Windows.Forms.AnchorStyles
To be added.
This property is not relevant to this class.
This property is not relevant to this class.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Drawing.Image
To be added.
This property is not relevant to this class.
This property is not relevant to this class.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
This event is not relevant to this class.
This event is not relevant to this class.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Windows.Forms.ImageLayout
To be added.
This property is not relevant to this class.
This property is not relevant to this class.
Event
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
This event is not relevant to this class.
This event is not relevant to this class.
Property
System.ComponentModel.DefaultValue(System.Windows.Forms.BorderStyle.None)
System.Runtime.InteropServices.DispId(-504)
System.Windows.Forms.BorderStyle
To be added.
This property is typically used when the controls the control is docked to are displayed with a specific border style and you want the control to match their display style. For example, if you have a and a control that the control will be docked to that you want to display without any borders, you can set the property to BorderStyle.None.
Gets or sets the style of border for the control. has been replaced by and is provided only for compatibility with previous versions.
1.0.5000.0
2.0.0.0
Property
System.Windows.Forms.CreateParams
To be added.
Inheriting classes can override this property to provide extra functionality. Be sure, however, that these classes call base.getCreateParams() first to get the structure containing the basic information.
Returns the parameters needed to create the handle.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.Windows.Forms.Cursor
To be added.
To be added.
Gets or sets the default cursor for the control.
Property
System.Windows.Forms.ImeMode
To be added.
To be added.
Gets the default Input Method Editor (IME) mode supported by this control.
1.0.5000.0
2.0.0.0
Property
System.Drawing.Size
To be added.
To be added.
Gets the default size of the control.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Localizable(true)
System.ComponentModel.DefaultValue(System.Windows.Forms.DockStyle.Left)
System.Windows.Forms.DockStyle
To be added.
Use the property to define how a control is automatically resized as its parent control is resized. You can only set the property to , , , or . The control enables the user to resize the docked control that is immediately before it in the docking order. Therefore, to enable the user to resize a docked control, dock the control to an edge of a container, and then dock a control to the same side of that container. For more information, see the example in the class.
Gets or sets which borders are docked to its parent control and determines how a is resized with its parent.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
This event is not relevant to this class.
This event is not relevant to this class.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Drawing.Font
To be added.
This property is not relevant to this class.
This property is not relevant to this class.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
This event is not relevant to this class.
This event is not relevant to this class.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Drawing.Color
To be added.
This property is not relevant to this class.
This property is not relevant to this class.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
This event is not relevant to this class.
This event is not relevant to this class.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Windows.Forms.ImeMode
To be added.
This property is not relevant to this class.
This property is not relevant to this class.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
This event is not relevant to this class.
This event is not relevant to this class.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Windows.Forms.KeyEventHandler
This event is not relevant to this class.
This event is not relevant to this class.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Windows.Forms.KeyPressEventHandler
This event is not relevant to this class.
This event is not relevant to this class.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Windows.Forms.KeyEventHandler
This event is not relevant to this class.
This event is not relevant to this class.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
This event is not relevant to this class.
This event is not relevant to this class.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Localizable(true)
System.ComponentModel.DefaultValue(25)
System.Int32
To be added.
For a horizontal control (a control docked to the top or bottom of a container), the minimum height of the area of the container reserved for undocked controls is this value minus the height of the control. For a vertical control (a control docked to the left or right of a container), the minimum width of the area of the container reserved for undocked controls is this value minus the width of the control. The user cannot move the splitter past the limit specified by this property.
If the property is set to a negative value, the property value is reset to 0.
Gets or sets the minimum distance that must remain between the splitter control and the edge of the opposite side of the container (or the closest control docked to that side). has been replaced by similar properties in and is provided only for compatibility with previous versions.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Localizable(true)
System.ComponentModel.DefaultValue(25)
System.Int32
To be added.
For a horizontal control (a control docked to the top or bottom of a container), this value is the minimum height of the resizable control. For a vertical control (a control docked to the left or right of a container), this value is the minimum width of the resizable control. The user cannot move the splitter past the limit specified by this property.
If the property is set to a negative value, the property value is reset to 0.
Gets or sets the minimum distance that must remain between the splitter control and the container edge that the control is docked to. has been replaced by and and is provided only for compatibility with previous versions.
1.0.5000.0
2.0.0.0
Method
System.Void
This method is not relevant to this class.
This method is not relevant to this class.
A that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
The method begins dragging the Splitter control to resize the docked control that is immediately before Splitter in the docking order.
Raises the event.
A that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
If the user holds down left mouse button and moves the mouse, the method moves the control to resize the docked control that is immediately before in the docking order.
Raises the event.
A that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
The method resizes the docked control that is immediately before Splitter in the docking order.
Raises the event.
A that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Raises the event. has been replaced by and is provided only for compatibility with previous versions.
A that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Raises the event. has been replaced by and is provided only for compatibility with previous versions.
A that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Boolean
To be added.
To be added.
To be added.
To be added.
1.0.5000.0
Method
System.Void
To be added.
To be added.
To be added.
To be added.
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
System.ComponentModel.Browsable(false)
System.Int32
To be added.
For a horizontal control (a control docked to the top or bottom of a container), this value is the height of the resizable control. For a vertical control (a control docked to the left or right of a container), this value is the width of the resizable control. You can use the property in an event handler for the or events to determine the size of the control that the control is docked to and limit its width to a specified maximum width (or height if a horizontally docked control).
Gets or sets the distance between the splitter control and the container edge that the control is docked to. has been replaced by and and is provided only for compatibility with previous versions.
1.0.5000.0
2.0.0.0
Event
System.Windows.Forms.SplitterEventHandler
You can create an event handler for the event to perform resize validation in your application. For example, if a control is docked to the edges of a control and a control, you can write code in the event to determine if the minimum and/or maximum size for the and controls has been exceeded and resize the controls to their minimum or maximum size.
For more information about handling events, see Consuming Events.
Occurs when the splitter control is moved. has been replaced by and is provided only for compatibility with previous versions.
1.0.5000.0
2.0.0.0
Event
System.Windows.Forms.SplitterEventHandler
You can create an event handler for the event to perform resize validation in your application. For example, if a control is docked to the edges of a control and a control, you can write code in the event to determine if the minimum and/or maximum size for the and controls has been exceeded and restrict the resizing of the controls to their minimum or maximum size.
For more information about handling events, see Consuming Events.
Occurs when the splitter control is in the process of moving. has been replaced by and is provided only for compatibility with previous versions.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Boolean
To be added.
This property is not relevant to this class.
This property is not relevant to this class.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
This event is not relevant to this class.
This event is not relevant to this class.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
System.ComponentModel.Browsable(false)
System.ComponentModel.Bindable(false)
System.String
To be added.
This property is not relevant to this class.
This property is not relevant to this class.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
This event is not relevant to this class.
This event is not relevant to this class.
1.0.5000.0
2.0.0.0
Method
System.String
The method returns a string that includes the type and the values for the and properties.
Returns a string that represents the control.
A string that represents the current .
1.0.5000.0
2.0.0.0