.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

FormFieldCollection Interface

The collection of FormField objects.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

public interface FormFieldCollection :
    ReadOnlyFormFieldCollection,
    ISimpleCollection<FormField>,
    IEnumerable<FormField>,
    IEnumerable,
    ICollection
Public Interface FormFieldCollection
    Inherits ReadOnlyFormFieldCollection,
             ISimpleCollection(Of FormField),
             IEnumerable(Of FormField),
             IEnumerable,
             ICollection
public interface FormFieldCollection :
    ReadOnlyFormFieldCollection,
    ISimpleCollection<FormField>,
    IEnumerable<FormField>,
    IEnumerable,
    ICollection
Public Interface FormFieldCollection
    Inherits ReadOnlyFormFieldCollection,
             ISimpleCollection(Of FormField),
             IEnumerable(Of FormField),
             IEnumerable,
             ICollection
public interface FormFieldCollection :
    ReadOnlyFormFieldCollection,
    ISimpleCollection<FormField>,
    IEnumerable<FormField>,
    IEnumerable,
    ICollection
Public Interface FormFieldCollection
    Inherits ReadOnlyFormFieldCollection,
             ISimpleCollection(Of FormField),
             IEnumerable(Of FormField),
             IEnumerable,
             ICollection

Remarks

A FormField object represents a form field's result.

Access the FormFieldCollection collection using the SubDocument.FormFields property.

Examples

DocumentPosition currentPosition = server.Document.Range.Start;
DevExpress.XtraRichEdit.API.Native.CheckBox checkBox = server.Document.FormFields.InsertCheckBox(currentPosition);
checkBox.Name = "check1";
checkBox.State = CheckBoxState.Checked;
checkBox.SizeMode = CheckBoxSizeMode.Auto;
checkBox.HelpTextType = FormFieldTextType.Custom;
checkBox.HelpText = "help text";
See Also