Back to Devexpress

XtraReport.ShowPrintMarginsWarning Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xtrareport-40e4060a.md

latest1.5 KB
Original Source

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

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(true)]
[SRCategory(ReportStringId.CatPrinting)]
public bool ShowPrintMarginsWarning { get; set; }
vb
<SRCategory(ReportStringId.CatPrinting)>
<DefaultValue(True)>
Public Property ShowPrintMarginsWarning As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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.

See Also

XtraReport Class

XtraReport Members

DevExpress.XtraReports.UI Namespace