alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Enum NavigationToolbarItemType

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

    Namespace: Syncfusion.Blazor.SfPdfViewer
    Assembly: Syncfusion.Blazor.SfPdfViewer.dll
    Syntax
    [JsonConverter(typeof(JsonStringEnumConverter))]
    public enum NavigationToolbarItemType
    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

    Name Description
    Button

    A clickable button item in the navigation toolbar.

    Separator

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

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved