System.Windows.Forms.SplitContainer.SplitterDistance Property

Gets or sets the location of the splitter, in pixels, from the left or top edge of the System.Windows.Forms.SplitContainer.

Syntax

[System.ComponentModel.SettingsBindable(true)]
[System.ComponentModel.DefaultValue(50)]
[System.ComponentModel.Localizable(true)]
public int SplitterDistance { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the SplitContainer.SplitterDistance property to determine or specify the distance in pixels of the splitter from the left or top edge of the container. You can both specify an initial distance and change the distance at design time or run time. If SplitContainer.Orientation is Horizontal, SplitContainer.SplitterDistance is calculated in pixels from the top edge of the System.Windows.Forms.SplitContainer. If SplitContainer.Orientation is Vertical, SplitContainer.SplitterDistance is calculated in pixels from the left edge of the System.Windows.Forms.SplitContainer.

Requirements

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