Method ClearViewport
ClearViewport(DrawContext?)
Clears Viewport with the normal background.
public void ClearViewport(DrawContext? context = null)
Parameters
contextDrawContext
Remarks
If ViewportSettings has ClearContentOnly only the portion of the content area that is visible within the Viewport will be cleared. This is useful for views that have a content area larger than the Viewport (e.g. when AllowNegativeLocation is enabled) and want the area outside the content to be visually distinct.