Class FormFieldClickArgs
This event arguments provide the necessary information about form field click event.
Inherited Members
Namespace: Syncfusion.Blazor.SfPdfViewer
Assembly: Syncfusion.Blazor.SfPdfViewer.dll
Syntax
public class FormFieldClickArgs : BaseEventArgs<FormFieldClickArgs>
Constructors
FormFieldClickArgs()
Declaration
public FormFieldClickArgs()
Properties
Cancel
If it is set as true, signature panel does not open for signature field. By default it is false.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Field
Gets the form field object.
Declaration
public FormField Field { get; set; }
Property Value
Type | Description |
---|---|
FormField | The form field object associated with the PDF document. |
FormField
Gets information about the clicked form field in SfPdfViewer2.
Declaration
public FormFieldInfo FormField { get; }
Property Value
Type | Description |
---|---|
FormFieldInfo | A FormFieldInfo representing the form field that was clicked. |
Remarks
This property provides details about the form field that was interacted with.
It is part of the FormFieldClickArgs class used in event handling.
Examples
<SfPdfViewer2 @ref="Viewer" Height="100%" Width="100%">
<PdfViewerEvents FormFieldClick="@OnFormFieldClick"></PdfViewerEvents>
</SfPdfViewer2>
@code {
SfPdfViewer2 Viewer;
void OnFormFieldClick(FormFieldClickArgs args)
{
FormFieldInfo fieldInfo = args.FormField;
// Process the form field information
}
}