[]
Gets or sets a value indicating whether the 'Preview' tab is visible on the design surface tool panel.
public bool EnablePreview { get; set; }
Type | Description |
---|---|
bool |
|
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.
// Enable the preview tab in the designer
designer.EnablePreview = true;
// Disable the preview tab in the designer
designer.EnablePreview = false;