Screenshot() Method

Definition

Assembly HeadlessTestingFramework.dll

Takes a screenshot of the entire root control.

public RenderTargetBitmap? Screenshot()

Returns

Avalonia.Media.Imaging.RenderTargetBitmap
The screenshot as a bitmap.