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. |