Skip to main content

XtraReport.ShowPrintMarginsWarning Property

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue(true)]
[SRCategory(ReportStringId.CatPrinting)]
public bool ShowPrintMarginsWarning { get; set; }

Property Value

Type Default Description
Boolean true

true to show the margins warning dialog; otherwise false.

Remarks

Use this property to enable the dialog showing the “One or more margins are set outside the printable area of the page” warning.

ShowMarginsWarning

See Also