FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / GridRendererOffice2007Silver Class / GetBorderPen Method
C1FlexGridRenderer.CellType that describes the type of cell being rendered.

In This Topic
    GetBorderPen Method (GridRendererOffice2007Silver)
    In This Topic
    Gets a pen 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 that describes the type of cell being rendered.

    Return Value

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