Splitter::BorderStyle Property
.NET Framework (current version)
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.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property BorderStyle BorderStyle { BorderStyle get(); void set(BorderStyle value); }
Property Value
Type: System.Windows.Forms::BorderStyleOne of the BorderStyle values. The default is BorderStyle.None.
| Exception | Condition |
|---|---|
| InvalidEnumArgumentException | 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
Available since 1.1
Show: