---
title: "Rearrange tools in MAUI PDF viewer toolbar | Nutrient"
canonical_url: "https://www.nutrient.io/guides/maui/user-interface/main-toolbar/rearrange/"
md_url: "https://www.nutrient.io/guides/maui/user-interface/main-toolbar/rearrange.md"
last_updated: "2026-06-08T09:14:14.429Z"
description: "Nutrient MAUI SDK comes with a customizable main toolbar that, by default, includes a number of predefined items. You can rearrange toolbar items using our API."
---

# Rearrange tools in our viewer toolbar

Nutrient MAUI SDK comes with a customizable main toolbar that, by default, includes a number of predefined items. You can rearrange toolbar items using our API.

Nutrient is initialized with a default set of items that can be retrieved via [`MainToolbar.DefaultToolbarItems`](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.Models.Toolbar.MainToolbar.html#DefaultToolbarItems):

```csharp

foreach(var item in MainToolbar.DefaultToolbarItems)
{
    Debug.WriteLine(item.Name);
}

```



To rearrange any item, get the current collection of toolbar items via [`MainToolbar.ToolbarItems`](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.Models.Toolbar.MainToolbar.html#PSPDFKit_Sdk_Models_Toolbar_MainToolbarToolbarItems), and change the order a toolbar item is displayed in the collection:

```csharp

// Move the first item to the last position.
PSPDFKitController.MainToolbar.ToolbarItems.Move(0, PSPDFKitController.MainToolbar.ToolbarItems.Count - 1);

```
---

## Related pages

- [Create custom tools for MAUI PDF viewer](/guides/maui/user-interface/main-toolbar/create-a-new-tool.md)
- [Activate or deactivate tools in our viewer toolbar](/guides/maui/user-interface/main-toolbar/activate-or-deactivate-tools.md)
- [Customizing the dropdown navigation in our viewer toolbar](/guides/maui/user-interface/main-toolbar/dropdown-groups.md)
- [Customizing download/export buttons in our PDF viewer](/guides/maui/user-interface/main-toolbar/download-export-button.md)
- [Customizing existing tools in our viewer toolbar](/guides/maui/user-interface/main-toolbar/customize-existing-tools.md)
- [Hiding the toolbar in our PDF viewer](/guides/maui/user-interface/main-toolbar/hide-the-toolbar.md)
- [Adding page labels to navigation in our viewer](/guides/maui/user-interface/main-toolbar/page-label-navigation.md)
- [Removing a tool from the toolbar in our MAUI viewer](/guides/maui/user-interface/main-toolbar/remove-a-tool.md)
- [Adjust the placement of the toolbar in our viewer](/guides/maui/user-interface/main-toolbar/placement.md)
- [Customizing responsive navigation in our viewer toolbar](/guides/maui/user-interface/main-toolbar/responsive-groups.md)

