Skip to main content
A newer version of this page is available. .

OptionsPrintBase.AllowPrint Property

Gets or sets whether a layout item along with its nested items are included in a LayoutControl‘s print/export output .

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v19.2.dll

Declaration

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

Property Value

Type Default Description
Boolean **true**

true, if the layout item and its nested items are printed/exported; false, if they are excluded from the printing/export output.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowPrint
LayoutViewCard
.OptionsPrint.AllowPrint
LayoutViewField
.OptionsPrint.AllowPrint
EmptySpaceItem
.OptionsPrint.AllowPrint
LayoutControlGroup
.OptionsPrint.AllowPrint
LayoutControlItem
.OptionsPrint.AllowPrint
LayoutGroup
.OptionsPrint.AllowPrint
LayoutRepositoryItem
.OptionsPrint.AllowPrint
SplitterItem
.OptionsPrint.AllowPrint

Remarks

The AllowPrint property is not supported if the OptionsPrintControl.OldPrinting property is set to true.

See Also