Spread Windows Forms 12.0 Product Documentation
Grid Constructor(Line,Line,Line,Line,Line,Line,Line,VerticalFlags)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > Grid Class > Grid Constructor : Grid Constructor(Line,Line,Line,Line,Line,Line,Line,VerticalFlags)
A Line structure that represents the left border.
A Line structure that represents the right border.
A Line structure that represents the top border.
A Line structure that represents the bottom border.
A Line structure that represents the separator.
A Line structure that represents the horizontal lines.
A Line structure that represents the vertical lines.
A VerticalFlag enumeration that represents which portions to draw the vertical lines.
Initializes a new Grid instance using the specified attribute settings.
Syntax
'Declaration
 
Public Function New( _
   ByVal left As Line, _
   ByVal right As Line, _
   ByVal top As Line, _
   ByVal bottom As Line, _
   ByVal separator As Line, _
   ByVal horizontal As Line, _
   ByVal vertical As Line, _
   ByVal verticalFlag As VerticalFlags _
)
'Usage
 
Dim left As Line
Dim right As Line
Dim top As Line
Dim bottom As Line
Dim separator As Line
Dim horizontal As Line
Dim vertical As Line
Dim verticalFlag As VerticalFlags
 
Dim instance As New Grid(left, right, top, bottom, separator, horizontal, vertical, verticalFlag)
public Grid( 
   Line left,
   Line right,
   Line top,
   Line bottom,
   Line separator,
   Line horizontal,
   Line vertical,
   VerticalFlags verticalFlag
)

Parameters

left
A Line structure that represents the left border.
right
A Line structure that represents the right border.
top
A Line structure that represents the top border.
bottom
A Line structure that represents the bottom border.
separator
A Line structure that represents the separator.
horizontal
A Line structure that represents the horizontal lines.
vertical
A Line structure that represents the vertical lines.
verticalFlag
A VerticalFlag enumeration that represents which portions to draw the vertical lines.
See Also

Reference

Grid Class
Grid Members
Overload List