[]
        
(Showing Draft Content)

C1.WinUI.Core.C1Border.OnRenderBackground

OnRenderBackground Method

OnRenderBackground(CanvasDrawingSession, Rect)

Draw the background of the control in the specified drawingContext.

Declaration
protected virtual void OnRenderBackground(CanvasDrawingSession drawingContext, Rect backgroundArea)
Protected Overridable Sub OnRenderBackground(drawingContext As CanvasDrawingSession, backgroundArea As Rect)
Parameters
Type Name Description
CanvasDrawingSession drawingContext

The drawing context used to paint the background.

Rect backgroundArea

The rectangle of the background.

Remarks

The performed drawings will be clipped if Microsoft.UI.Xaml.CornerRadius is specified.