Spread Windows Forms 9.0 Product Documentation
BorderStyle Property (EditBase)


Gets or sets the type of border that is drawn around the EditBase.
Syntax
'Declaration
 
Public MustOverride Property BorderStyle As BorderStyle
'Usage
 
Dim instance As EditBase
Dim value As BorderStyle
 
instance.BorderStyle = value
 
value = instance.BorderStyle
public abstract BorderStyle BorderStyle {get; set;}

Property Value

A BorderStyle enumeration that indicates the border style.
The default is BorderStyle.Fixed3D.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentException A value that is not within the range of valid values for the enumeration was assigned to the property.
Remarks
You can use the BorderStyle property to create borderless and flat style controls, in addition to the default three-dimensional control.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

EditBase Class
EditBase Members
SingleBorderColor Property

 

 


Copyright © GrapeCity, inc. All rights reserved.