Spread Windows Forms 9.0 Product Documentation
BorderSize Property


Gets or sets a value that specifies the size, in pixels, of the border around the button.
Syntax
'Declaration
 
Public Property BorderSize As Integer
'Usage
 
Dim instance As FlatButtonAppearance
Dim value As Integer
 
instance.BorderSize = value
 
value = instance.BorderSize
public int BorderSize {get; set;}

Property Value

An System.Int32 that represents the size, in pixels, of the border around the button.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionThe BorderSize of the flat button must be greater than or equal to 0.
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

FlatButtonAppearance Class
FlatButtonAppearance Members

 

 


Copyright © GrapeCity, inc. All rights reserved.