Open this page in the API Guide

ViewPanel.refreshPreviewBackground Method

Refresh the background of the preview panel to match the previewing background.