ComponentOne FlexGrid for WinForms
GetBorderPen Method

C1.Win.C1FlexGrid Namespace > C1FlexGridRenderer Class : GetBorderPen Method
C1FlexGridRenderer.CellType value that determines the type of cell being drawn.
Gets a System.Drawing.Pen object used to paint the cell borders.
Syntax
'Declaration
 
Public Overridable Function GetBorderPen( _
   ByVal cellType As C1FlexGridRenderer.CellType _
) As Pen
public virtual Pen GetBorderPen( 
   C1FlexGridRenderer.CellType cellType
)

Parameters

cellType
C1FlexGridRenderer.CellType value that determines the type of cell being drawn.

Return Value

A System.Drawing.Pen object used to paint the cell borders.
See Also

Reference

C1FlexGridRenderer Class
C1FlexGridRenderer Members