BeforeFieldAdd Event
Gets or sets the event that is fired before a form field is added to the page displayed in the control.
Syntax
'Declaration Public Event BeforeFieldAdd As EventHandler(Of BeforeFieldAddEventArgs)
'Usage Dim instance As PDFPageView Dim handler As EventHandler(Of BeforeFieldAddEventArgs) AddHandler instance.BeforeFieldAdd, handler
public event EventHandler<BeforeFieldAddEventArgs> BeforeFieldAdd
Event Data
The event handler receives an argument of type BeforeFieldAddEventArgs containing data related to this event. The following BeforeFieldAddEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Cancel | Gets or sets a value indicating whether the field should be added or not. |
| Field | Gets the field that will be added to the document. |
Requirements
Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025
See Also