FlexGrid for WPF | ComponentOne
C1.WPF.Grid Assembly / C1.WPF.Grid Namespace / GridCellView Class / OnRenderBackground Method
The drawing context used to paint the background.
The rectangle of the background.

In This Topic
    OnRenderBackground Method (GridCellView)
    In This Topic
    Draw the background of the control in the specified drawingContext.
    Syntax
    'Declaration
     
    Protected Overrides Sub OnRenderBackground( _
       ByVal drawingContext As DrawingContext, _
       ByVal backgroundArea As Rect _
    ) 
    protected override void OnRenderBackground( 
       DrawingContext drawingContext,
       Rect backgroundArea
    )

    Parameters

    drawingContext
    The drawing context used to paint the background.
    backgroundArea
    The rectangle of the background.
    Remarks
    The performed drawings will be clipped if CornerRadius is specified.
    See Also