Gets the size and location of the splitter relative to the System.Windows.Forms.SplitContainer.
Documentation for this section has not yet been entered.
Use SplitContainer.SplitterRectangle to get the width and height of the splitter relative to the System.Windows.Forms.SplitContainer. The SplitContainer.OnKeyDown(KeyEventArgs), SplitContainer.OnKeyUp(KeyEventArgs), SplitContainer.OnMouseDown(MouseEventArgs), SplitContainer.OnMouseUp(MouseEventArgs), and SplitContainer.OnMouseMove(MouseEventArgs) event handlers draw the SplitContainer.SplitterRectangle to show the current position of the splitter while it is moving.
The meaning of the SplitContainer.SplitterRectangle values vary depending on the SplitContainer.Orientation. The output of SplitContainer.SplitterRectangle is in the format {X, Y, Width, Height}. The following table shows the meaning of the SplitContainer.SplitterRectangle values for vertical and horizontal splitters.
X |
The distance in pixels of the splitter from the left edge of the System.Windows.Forms.SplitContainer. |
This value is always 0 for a horizontal splitter, indicating that the splitter is flush with the left edge of the System.Windows.Forms.SplitContainer. |
Y |
This value is always 0 for a vertical splitter, indicating that the splitter is flush with the top edge of the System.Windows.Forms.SplitContainer. |
The distance in pixels of the splitter from the top edge of the System.Windows.Forms.SplitContainer. |
Width |
The width of the splitter. |
The height of the splitter, which is equivalent to the height of the System.Windows.Forms.SplitContainer control. |
Height |
The height of the splitter, which is equivalent to the height of the System.Windows.Forms.SplitContainer control. |
The width of the splitter. |