Skip to main content
All docs
V18.2

SpreadsheetPrintOptions.ShowMarginsWarning Property

Gets or sets a value indicating whether an error message is shown when the page margins are set outside the printable area.

Namespace: DevExpress.XtraSpreadsheet

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

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool ShowMarginsWarning { get; set; }

Property Value

Type Default Description
Boolean **true**

true, to show the margins warning dialog; otherwise false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowMarginsWarning
SpreadsheetControlOptions
.Print.ShowMarginsWarning

Remarks

Set the ShowMarginsWarning property to false to suppress displaying the margins warning dialog.

SpreadsheetControl_ MarginsWarningDialog

See Also