menu

Blazor

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

    Show / Hide Table of Contents

    Class FormDesignerToolbarItem

    Represents the available tools in the form designer toolbar of the SfPdfViewer2 component.

    Inheritance
    System.Object
    FormDesignerToolbarItem
    Namespace: Syncfusion.Blazor.SfPdfViewer
    Assembly: Syncfusion.Blazor.SfPdfViewer.dll
    Syntax
    public sealed class FormDesignerToolbarItem : Enum
    Remarks

    The FormDesignerToolbarItem enumeration defines the tools that can be displayed in the form designer toolbar for creating and manipulating form fields within the PDF Viewer.

    These tools allow users to interactively add or remove form fields such as text boxes, password fields, and list boxes. Use these values to configure the toolbar options based on application requirements.

    Examples

    The following example demonstrates how to configure the form designer toolbar with specific tools:

    List<FormDesignerToolbarItem> toolbarItems = new List<FormDesignerToolbarItem>
    {
        FormDesignerToolbarItem.TextBox,  // Enables the textbox creation tool
        FormDesignerToolbarItem.Password, // Enables the password field creation tool
        FormDesignerToolbarItem.Delete   // Enables the delete tool
    };

    Fields

    Button

    Represents the Button tool, which allows adding a button field.

    Declaration
    public const FormDesignerToolbarItem Button
    Field Value
    Type
    FormDesignerToolbarItem

    CheckBox

    Represents the CheckBox tool, which allows adding a checkbox field.

    Declaration
    public const FormDesignerToolbarItem CheckBox
    Field Value
    Type
    FormDesignerToolbarItem

    Delete

    Represents the Delete tool, which allows deleting a form field.

    Declaration
    public const FormDesignerToolbarItem Delete
    Field Value
    Type
    FormDesignerToolbarItem

    DropDown

    Represents the DropDown tool, which allows adding a dropdown field.

    Declaration
    public const FormDesignerToolbarItem DropDown
    Field Value
    Type
    FormDesignerToolbarItem

    ListBox

    Represents the ListBox tool, which allows adding a list box field.

    Declaration
    public const FormDesignerToolbarItem ListBox
    Field Value
    Type
    FormDesignerToolbarItem

    Password

    Represents the Password tool, which allows adding a password field.

    Declaration
    public const FormDesignerToolbarItem Password
    Field Value
    Type
    FormDesignerToolbarItem

    RadioButton

    Represents the RadioButton tool, which allows adding a radio button field.

    Declaration
    public const FormDesignerToolbarItem RadioButton
    Field Value
    Type
    FormDesignerToolbarItem

    Signature

    Represents the Signature tool, which allows adding a signature field.

    Declaration
    public const FormDesignerToolbarItem Signature
    Field Value
    Type
    FormDesignerToolbarItem

    TextBox

    Represents the TextBox tool, which allows adding a textbox field.

    Declaration
    public const FormDesignerToolbarItem TextBox
    Field Value
    Type
    FormDesignerToolbarItem
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved