The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

SubDocument.FormFields Property

Provides access to the collection of the document's FormField objects.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

FormFieldCollection FormFields { get; }
ReadOnly Property FormFields As FormFieldCollection
FormFieldCollection FormFields { get; }
ReadOnly Property FormFields As FormFieldCollection
FormFieldCollection FormFields { get; }
ReadOnly Property FormFields As FormFieldCollection

Property Value

Type Description
FormFieldCollection

A FormFieldCollection object that is the document's check box form fields collection.

Property Value

Type Description
FormFieldCollection

A FormFieldCollection object that is the document's check box form fields collection.

Property Value

Type Description
FormFieldCollection

A FormFieldCollection object that is the document's check box form fields collection.

Remarks

Use the FormFieldCollection.InsertCheckBox method to create a new CheckBox form field.

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