This documentation is archived and is not being maintained.

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.


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

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.