alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class FormFieldClickArgs

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

    Inheritance
    object
    BaseEventArgs<FormFieldClickArgs>
    FormFieldClickArgs
    Inherited Members
    BaseEventArgs<FormFieldClickArgs>.Name
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    [JsonPropertyName("cancel")]
    public bool Cancel { get; set; }
    Property Value
    Type Description
    bool

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

    Field

    Gets the form field object.

    Declaration
    [JsonPropertyName("field")]
    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
    [JsonPropertyName("formField")]
    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
       }
    }
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved