Back to Devexpress

PdfViewer.FormFieldValueChanging Event

maui-devexpress-dot-maui-dot-pdf-dot-pdfviewer-90c3b6d6.md

latest2.0 KB
Original Source

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

csharp
public event EventHandler<PdfFormFieldValueChangingEventArgs> FormFieldValueChanging

Event Data

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

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
FieldNameReturns the field name.
NewValueGets the new value. Inherited from ValueChangingEventArgs<T>.
OldValueGets 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

PdfViewer Class

PdfViewer Members

DevExpress.Maui.Pdf Namespace