Back to Devexpress

SpreadsheetPrintOptions.RibbonPreview Property

officefileapi-devexpress-dot-xtraspreadsheet-dot-spreadsheetprintoptions.md

latest2.0 KB
Original Source

SpreadsheetPrintOptions.RibbonPreview Property

Gets or sets a value that specifies whether the Ribbon Print Preview window should be displayed instead of the standard Print Preview form with a Bar UI.

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public bool RibbonPreview { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property RibbonPreview As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true , to display the Print Preview window with a Ribbon UI; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to RibbonPreview
SpreadsheetControlOptions

.Print .RibbonPreview

|

Remarks

If the RibbonPreview property is set to false , the Preview form with a Bar UI will be invoked when an end-user clicks the Print Preview button in the Common group of the SpreadsheetControl’s Ribbon UI.

See Also

SpreadsheetPrintOptions Class

SpreadsheetPrintOptions Members

DevExpress.XtraSpreadsheet Namespace