Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / VisualGridElement Class / PaintBorders Method
A GridPaintEventArgs that contains the event data.


In This Topic
    PaintBorders Method (VisualGridElement)
    In This Topic
    Paints the borders of the grid element.
    Syntax
    'Declaration
     
    Protected Friend Overridable Sub PaintBorders( _
       ByVal e As GridPaintEventArgs _
    ) 
    'Usage
     
    Dim instance As VisualGridElement
    Dim e As GridPaintEventArgs
     
    instance.PaintBorders(e)
    protected internal virtual void PaintBorders( 
       GridPaintEventArgs e
    )

    Parameters

    e
    A GridPaintEventArgs that contains the event data.
    Remarks

    Painting must be done with the rectangles received in the GridPaintEventArgs otherwise the grid element will not print correctly.

    When painting, the point conversion methods such as PointToClient should not be used.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also