Skip to main content

PrintingSystemBase.EditingFields Property

Provides access to the collection of fields whose content can be edited in Print Preview.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

[Browsable(false)]
public EditingFieldCollection EditingFields { get; }

Property Value

Type Description
EditingFieldCollection

The collection of fields whose content can be edited in Print Preview.

Remarks

If a EditOptions.Enabled property of a control is set to true, its content becomes customizable in Print Preview. Each time such a control is rendered in Print Preview, a new appropriate EditingField instance is added to the EditingFields collection: TextEditingField for a label or its descendant, CheckEditingField for a check box, and the ImageEditingField.ImageSource for a picture box.

An editing field provides options corresponding to edit options of a control and indicates the current field value (EditingField.EditValue or CheckEditingField.CheckState) as well as a visual brick used to render this field in Print Preview (EditingField.Brick).

Changing a field’s value in Print Preview updates the corresponding property and each time this value is changed, the PrintingSystemBase.EditingFieldChanged event occurs.

For more information, see Content Editing in Print Preview.

See Also