System.Windows.Forms.SplitContainer.Panel1MinSize Property

Gets or sets the minimum distance in pixels of the splitter from the left or top edge of SplitContainer.Panel1.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

Use the SplitContainer.Panel1MinSize property to prevent the splitter from moving too close to the left or top 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.Panel1MinSize returns the minimum distance in pixels of the splitter from the left edge of SplitContainer.Panel1. If the SplitContainer.Orientation property is Horizontal, SplitContainer.Panel1MinSize returns the minimum distance in pixels of the splitter from the top edge of SplitContainer.Panel1.

Requirements

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