| Visual Basic (Declaration) | |
|---|---|
Public Overrides Property BorderStyle As BorderStyle | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As FieldsEditorControl Dim value As BorderStyle instance.BorderStyle = value value = instance.BorderStyle | |
| C# | |
|---|---|
public override BorderStyle BorderStyle {get; set;} | |
Property Value
A BorderStyle enumeration that indicates the border style.| Exception | Description |
|---|---|
| System.ComponentModel.InvalidEnumArgumentException | A value that is not within the range of valid values for the enumeration was assigned to the property. |
You can use the BorderStyle property to create borderless and flat style controls, in addition to the default three-dimensional control.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8