menu

Blazor

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

    Show / Hide Table of Contents

    Class NavigationToolbarItemType

    Specifies the item types available in the navigation toolbar of the SfPdfViewer2 component.

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

    The NavigationToolbarItemType enumeration determines how an item appears and behaves within the navigation toolbar.

    Use Button for actionable elements such as navigation controls, and Separator to visually group items without providing interaction.

    Examples

    The following example shows how to assign item types to custom toolbar items:

    var item = new CustomNavigationToolbarItem {
        Name = "Notes",
        IconCss = "e-pv-note",
        ItemType = NavigationToolbarItemType.Button
    };

    Fields

    Button

    A clickable button item in the navigation toolbar.

    Declaration
    public const NavigationToolbarItemType Button
    Field Value
    Type
    NavigationToolbarItemType

    Separator

    A non-interactive separator used to visually group items in the navigation toolbar.

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