AppModel.IsInternalPreview

Determines whether the preview is shown in the Internal Preview Pane

public bool IsInternalPreview