Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfGraphicsAcroFormField.Required Property

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

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v24.2.Drawing.dll

NuGet Package: DevExpress.Pdf.Drawing

#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