System.Windows.Forms.SplitContainer.Panel2MinSize Property

Gets or sets the minimum distance in pixels of the splitter from the right or bottom edge of SplitContainer.Panel2.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

Use the SplitContainer.Panel2MinSize property to prevent the splitter from moving too close to the right or bottom edge of the container. For example, you might want to prevent some of the display area of a System.Windows.Forms.TreeView from being covered.

If the SplitContainer.Orientation property is Vertical (the default), SplitContainer.Panel2MinSize returns the minimum distance in pixels that the splitter can be from the right edge of SplitContainer.Panel2. If the SplitContainer.Orientation property is Horizontal, SplitContainer.Panel2MinSize returns the minimum distance in pixels that the splitter can be from the bottom edge of SplitContainer.Panel2.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0