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

In This Topic
    OnRenderBackground Method (GridControlCellView)
    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