Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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