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

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