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
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 Cancel |
Field |
Returns the field name. |
New |
Gets the new value.
Inherited from Value |
Old |
Gets the old value.
Inherited from Value |
#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.