---
title: "Hide toolbar in MAUI PDF viewer | Nutrient SDK"
canonical_url: "https://www.nutrient.io/guides/maui/user-interface/main-toolbar/hide-the-toolbar/"
md_url: "https://www.nutrient.io/guides/maui/user-interface/main-toolbar/hide-the-toolbar.md"
last_updated: "2026-06-08T09:14:14.429Z"
description: "By modifying the ShowToolbar dependency property, you can easily control when the toolbar should be shown or hidden. for Nutrient MAUI SDK."
---

# Hiding the toolbar in our PDF viewer

By modifying the [`ShowToolbar`](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.PDFView.html#PSPDFKit_Sdk_PDFView_ShowToolbar) dependency property, you can easily control when the toolbar should be shown or hidden.

Update this property of [`PDFView`](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.PDFView.html), and the toolbar will be shown when the property is set to `true` and hidden when set to `false`.

The following example toggles the `ShowToolbar` property between both states, so it’ll show it if it’s hidden and hide it if it’s visible:

```xml

<!-- MyPage.xaml -->...
<pspdfkit:PDFView x:Name="PDFView" Initialized="OnPDFViewInitialized"
                  ShowToolbar="{Binding ShouldShowToolbar}" />

<Button Text="Toggle Toolbar" Clicked="OnToggleToolbarClicked" />...

```

```csharp

// MyPage.xaml.cs...
private void OnToggleToolbarClicked(object sender, EventArgs e)
{
    PDFView.ShowToolbar =!PDFView.ShowToolbar;
}...

```
---

## Related pages

- [Activate or deactivate tools in our viewer toolbar](/guides/maui/user-interface/main-toolbar/activate-or-deactivate-tools.md)
- [Create custom tools for MAUI PDF viewer](/guides/maui/user-interface/main-toolbar/create-a-new-tool.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)
- [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)
- [Removing a tool from the toolbar in our MAUI viewer](/guides/maui/user-interface/main-toolbar/remove-a-tool.md)
- [Customizing responsive navigation in our viewer toolbar](/guides/maui/user-interface/main-toolbar/responsive-groups.md)

