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

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool AllowPrint { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property AllowPrint As Boolean

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
EmptySpaceItem
.OptionsPrint.AllowPrint
LayoutControlGroup
.OptionsPrint.AllowPrint
LayoutControlItem
.OptionsPrint.AllowPrint
LayoutGroup
.OptionsPrint.AllowPrint
LayoutRepositoryItem
.OptionsPrint.AllowPrint
SimpleLabelItem
.OptionsPrint.AllowPrint
SplitterItem
.OptionsPrint.AllowPrint

Remarks

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

See Also