menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FormFieldClickArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FormFieldClickArgs

    This event arguments provide the necessary information about form field click event.

    Inheritance
    System.Object
    BaseEventArgs<FormFieldClickArgs>
    FormFieldClickArgs
    Inherited Members
    BaseEventArgs<FormFieldClickArgs>.Name
    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

    true, if the signature panel is canceled for signature field. Otherwise, false.

    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
       }
    }
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved