[]
Draw the content of the control in the specified drawingContext
.
protected virtual void OnRenderContent(DrawingContext drawingContext, Rect contentArea)
Type | Name | Description |
---|---|---|
DrawingContext | drawingContext | The drawing context used to paint the background. |
Rect | contentArea | The rectangle of the content. This already includes the padding. |
The performed drawings will be clipped if CornerRadius is specified.