Skip to main content

FieldOptions.UpdateFieldsInTextBoxes Property

Gets or sets whether the FieldCollection.Update method updates fields contained in text boxes.

Namespace: DevExpress.XtraRichEdit

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

[DefaultValue(false)]
public bool UpdateFieldsInTextBoxes { get; set; }

Property Value

Type Default Description
Boolean false

True, to update fields contained in text boxes; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to UpdateFieldsInTextBoxes
RichEditControlOptionsBase
.Fields .UpdateFieldsInTextBoxes

Remarks

When the UpdateFieldsInTextBoxes is set to true, the FieldCollection.Update method iterates through all text boxes in a document to update fields contained in text boxes.

To update fields in the main document, document header, etc. the FieldCollection.Update method should be explicitly invoked for the proper SubDocument.

Note

Switching on the UpdateFieldsInTextBoxes option can slow down field update process.

See Also