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

PdfViewer.FormFieldValueChanging Event

Occurs before changes are applied to a form field.

Namespace: DevExpress.Maui.Pdf

Assembly: DevExpress.Maui.Pdf.dll

NuGet Package: DevExpress.Maui.Pdf

#Declaration

C#
public event EventHandler<PdfFormFieldValueChangingEventArgs> FormFieldValueChanging

#Event Data

The FormFieldValueChanging event's data class is PdfFormFieldValueChangingEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
FieldName Returns the field name.
NewValue Gets the new value. Inherited from ValueChangingEventArgs<T>.
OldValue Gets the old value. Inherited from ValueChangingEventArgs<T>.

#Remarks

Set the e.Cancel property to true in the FormFieldValueChanging event handler to cancel value changes. In this case, the PDF viewer does not raise the FormFieldValueChanged event.

See Also