Back to Devexpress

FieldOptions.UpdateFieldsInTextBoxes Property

officefileapi-devexpress-dot-xtrarichedit-dot-fieldoptions-fe4bc065.md

latest2.4 KB
Original Source

FieldOptions.UpdateFieldsInTextBoxes Property

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

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[DefaultValue(false)]
public bool UpdateFieldsInTextBoxes { get; set; }
vb
<DefaultValue(False)>
Public Property UpdateFieldsInTextBoxes As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

FieldOptions Class

FieldOptions Members

DevExpress.XtraRichEdit Namespace