Core Library for WPF | ComponentOne
C1.WPF.Core Namespace / C1Border Class / OnRenderContent Method
The drawing context used to paint the background.
The rectangle of the content. This already includes the padding.

In This Topic
    OnRenderContent Method
    In This Topic
    Draw the content of the control in the specified drawingContext.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnRenderContent( _
       ByVal drawingContext As DrawingContext, _
       ByVal contentArea As Rect _
    ) 
    protected virtual void OnRenderContent( 
       DrawingContext drawingContext,
       Rect contentArea
    )

    Parameters

    drawingContext
    The drawing context used to paint the background.
    contentArea
    The rectangle of the content. This already includes the padding.
    Remarks
    The performed drawings will be clipped if System.Windows.CornerRadius is specified.
    See Also