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 |