[]
Draw the content of the control in the specified drawingContext.
protected override void OnRenderContent(CanvasDrawingSession drawingContext, Rect contentArea)
Protected Overrides Sub OnRenderContent(drawingContext As CanvasDrawingSession, contentArea As Rect)
| Type | Name | Description |
|---|---|---|
| CanvasDrawingSession | 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 Microsoft.UI.Xaml.CornerRadius is specified.