Back to Devexpress

PdfViewer.FormFieldValueChanging Event

windowsforms-devexpress-dot-xtrapdfviewer-dot-pdfviewer-57b42027.md

latest2.2 KB
Original Source

PdfViewer.FormFieldValueChanging Event

Occurs before a new form field value is posted.

Namespace : DevExpress.XtraPdfViewer

Assembly : DevExpress.XtraPdfViewer.v25.2.dll

NuGet Package : DevExpress.Win.PdfViewer

Declaration

csharp
public event PdfFormFieldValueChangingEventHandler FormFieldValueChanging
vb
Public Event FormFieldValueChanging As PdfFormFieldValueChangingEventHandler

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.
FieldNameGets the name of the form field.
NewValueGets or sets a new value of the form field.
OldValueGets the form field’s previous value.

Remarks

The FormFieldValueChanging event fires when the field editor loses focus: the user clicked on any other place in the document, pressed ENTER or TAB.

Handle this event to cancel changing the form field value.

See Also

PdfViewer Class

PdfViewer Members

DevExpress.XtraPdfViewer Namespace