---
title: "Customizing tools in MAUI PDF viewer toolbar | Nutrient"
canonical_url: "https://www.nutrient.io/guides/maui/user-interface/main-toolbar/customize-existing-tools/"
md_url: "https://www.nutrient.io/guides/maui/user-interface/main-toolbar/customize-existing-tools.md"
last_updated: "2026-06-03T21:45:02.523Z"
description: "It’s possible to customize the following properties of built-in main toolbar items (IMainToolbarItem): for Nutrient MAUI SDK."
---

# Customizing existing tools in our viewer toolbar

It’s possible to customize the following properties of built-in main toolbar items (`IMainToolbarItem`):

- `MediaQueries`

- `StyleClass`

Additionally, all main toolbar buttons (`IMainToolbarButton`) can be customized with the following properties:

- `IsDisabled`

- `Icon`

- `Tooltip`

All main toolbar toggle buttons (`IMainToolbarToggleButton`) can be customized with the following properties:

- `IsDisabled`

- `IsSelected`

- `Icon`

- `Tooltip`

Refer to the [API reference](https://www.nutrient.io/api/maui/) to learn more about each individual property.

The following example modifies the current toolbar items to ensure that the `PagerToggleButton` is shown in all viewport widths by setting the `MediaQueries` property to `["(min-width: 1000px)"]`:

```csharp

// Change the `MediaQueries` for the pager item so that it's only shown if the width of `PDFView` is greater than 1000px.
foreach (var item in PSPDFKitController.MainToolbar.ToolbarItems)
{
    if (item is PagerToggleButton)
    {
        item.MediaQueries.Add("(min-width: 1000px)");
    }
}

```
---

## Related pages

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

