System.Windows.Forms.Splitter.MinSize Property

Gets or sets the minimum distance that must remain between the splitter control and the container edge that the control is docked to. Splitter.MinSize has been replaced by SplitContainer.Panel1MinSize and SplitContainer.Panel2MinSize and is provided only for compatibility with previous versions.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(25)]
public int MinSize { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

For a horizontal System.Windows.Forms.Splitter control (a System.Windows.Forms.Splitter control docked to the top or bottom of a container), this value is the minimum height of the resizable control. For a vertical System.Windows.Forms.Splitter control (a System.Windows.Forms.Splitter 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.

Note:

If the Splitter.MinSize property is set to a negative value, the property value is reset to 0.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0