Syncfusion.Grid.Windows


The System.Drawing.Size with the cell size.
The GridStyleInfo object that holds cell information.

AddBorders Method (GridControl)

Adds border margins to given cell client area size. The borders are determined from a specified style with cell content information.
Syntax
'Declaration
 
Public Function AddBorders( _
   ByVal size As Size, _
   ByVal style As GridStyleInfo _
) As Size
'Usage
 
Dim instance As GridControl
Dim size As Size
Dim style As GridStyleInfo
Dim value As Size
 
value = instance.AddBorders(size, style)
public Size AddBorders( 
   Size size,
   GridStyleInfo style
)

Parameters

size
The System.Drawing.Size with the cell size.
style
The GridStyleInfo object that holds cell information.

Return Value

The System.Drawing.Size with the cell size including its borders.
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also