Core Library for WPF | ComponentOne
C1.WPF.Core Namespace / C1Border Class / OnRenderBackground Method
The drawing context used to paint the background.
The rectangle of the background.

In This Topic
    OnRenderBackground Method
    In This Topic
    Draw the background of the control in the specified drawingContext.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnRenderBackground( _
       ByVal drawingContext As DrawingContext, _
       ByVal backgroundArea As Rect _
    ) 
    protected virtual 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 System.Windows.CornerRadius is specified.
    See Also