Edit

Share via


SKControl Class

Definition

A control that can be drawn on using SkiaSharp drawing commands.

public class SKControl : System.Windows.Forms.Control
Inheritance
SKControl

Constructors

Name Description
SKControl()

Initializes a new instance of the SKControl class.

Properties

Name Description
CanvasSize

Gets the current canvas size.

Methods

Name Description
Dispose(Boolean)

Releases the unmanaged resources used by the SKControl and optionally releases the managed resources.

OnPaint(PaintEventArgs)

Raises the Paint event.

OnPaintSurface(SKPaintSurfaceEventArgs)

Implement this to draw on the canvas.

Events

Name Description
PaintSurface

Occurs when the canvas needs to be redrawn.

Applies to