Spread Windows Forms 7.0 Product Documentation
BorderSize Property
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > FlatButtonAppearance Class : BorderSize Property


Glossary Item Box

Gets or sets a value that specifies the size, in pixels, of the border around the button.

Syntax

Visual Basic (Declaration) 
Public Property BorderSize As Integer
Visual Basic (Usage)Copy Code
Dim instance As FlatButtonAppearance
Dim value As Integer
 
instance.BorderSize = value
 
value = instance.BorderSize
C# 
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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.