[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Design.Designer.EnablePreview

EnablePreview Property

EnablePreview

Gets or sets a value indicating whether the 'Preview' tab is visible on the design surface tool panel.

Declaration
public bool EnablePreview { get; set; }
Property Value
Type Description
bool

true if the 'Preview' tab is enabled and visible; otherwise, false. The default is true.

Remarks

This property controls the visibility of the 'Preview' tab, which allows users to view a rendered preview of the current report. When set to false, the 'Preview' tab is hidden, and users cannot access the preview functionality directly from the design surface.

Examples
// Enable the preview tab in the designer
designer.EnablePreview = true;
// Disable the preview tab in the designer
designer.EnablePreview = false;