Splitter.BorderStyle Property


Gets or sets the style of border for the control. Splitter.BorderStyle has been replaced by SplitContainer.BorderStyle and is provided only for compatibility with previous versions.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public BorderStyle BorderStyle { get; set; }

Property Value

Type: System.Windows.Forms.BorderStyle

One of the BorderStyle values. The default is BorderStyle.None.

Exception Condition

The value of the property is not one of the BorderStyle values.

This property is typically used when the controls the Splitter control is docked to are displayed with a specific border style and you want the Splitter control to match their display style. For example, if you have a TreeView and a ListView control that the Splitter control will be docked to that you want to display without any borders, you can set the BorderStyle property to BorderStyle.None.

.NET Framework
Available since 1.1
Return to top