Skip to main content
.NET Framework 4.5.2+

PdfGraphicsAcroFormField.Required Property

Gets or sets whether to force users to complete a form field.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v22.1.Drawing.dll

Declaration

public bool Required { get; set; }

Property Value

Type Description
Boolean

true to mark the form field as required; otherwise, false.

Remarks

If a user attempts to submit the form when a required field is blank, an error message appears and the form field is highlighted.

This property has an affect only if the form field is associated with the Submit A Form action. Otherwise, this property value is ignored.

See Also