[]
Draw the background of the control in the specified drawingContext
.
protected override void OnRenderBackground(DrawingContext drawingContext, Rect backgroundArea)
Type | Name | Description |
---|---|---|
DrawingContext | drawingContext | The drawing context used to paint the background. |
Rect | backgroundArea | The rectangle of the background. |
The performed drawings will be clipped if CornerRadius is specified.