FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / GridRendererSystem Class / GetBorderPen Method
C1FlexGridRenderer.CellType value that determines the type of cell being drawn.

In This Topic
    GetBorderPen Method (GridRendererSystem)
    In This Topic
    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