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

OptionsPrintBase.AppearanceItemCaption Property

Contains appearance settings used to paint a layout item’s caption in a LayoutControl‘s print/export output.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v18.2.dll

Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Content)]
public AppearanceObject AppearanceItemCaption { get; }

Property Value

Type Description
AppearanceObject

An object that contains settings to customize the appearance of the layout item caption.

Property Paths

You can access this nested property as listed below:

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

Remarks

By default, a printed LayoutControl utilizes the same item appearances as when they are displayed on screen. However, in the default printing mode (when OptionsPrintControl.OldPrinting is disabled), you can specify item print appearance settings, which are only used when items are printed and exported.

A layout item’s AppearanceItemCaption property allows you to customize the print appearance settings of a specific item. A group’s AppearanceItemCaption settings are propagated to all its nested items. In addition, you can customize the print appearance settings of all layout item captions in a centralized way using the LayoutControl’s OptionsPrintControl.AppearanceItemCaption property.

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

See Also