---
title: WindowToolbarFullScreenVisibility
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/windowtoolbarfullscreenvisibility
---

# WindowToolbarFullScreenVisibility

The visibility of the window toolbar with respect to full screen mode.

## Declaration

```swift
struct WindowToolbarFullScreenVisibility
```

## Overview

Overview Use values of this type in conjunction with the windowToolbarFullScreenVisibility(_:) modifier to configure how the window toolbar displays itself when the window enters full screen mode. For example, you can specify that the window toolbar should be hidden by default, and only show when the mouse moves into the area occupied by the menu bar: struct RootView: View {     var body: some View {         ContentView()             .toolbar {                 ...             }             .windowToolbarFullScreenVisibility(.onHover)     } }

## Topics

### Type Properties

- [automatic](swiftui/windowtoolbarfullscreenvisibility/automatic.md)
- [onHover](swiftui/windowtoolbarfullscreenvisibility/onhover.md)
- [visible](swiftui/windowtoolbarfullscreenvisibility/visible.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring window visibility

- [WindowVisibilityToggle](swiftui/windowvisibilitytoggle.md)
- [defaultLaunchBehavior(_:)](swiftui/scene/defaultlaunchbehavior(_:).md)
- [restorationBehavior(_:)](swiftui/scene/restorationbehavior(_:).md)
- [SceneLaunchBehavior](swiftui/scenelaunchbehavior.md)
- [SceneRestorationBehavior](swiftui/scenerestorationbehavior.md)
- [persistentSystemOverlays(_:)](swiftui/scene/persistentsystemoverlays(_:).md)
- [windowToolbarFullScreenVisibility(_:)](swiftui/view/windowtoolbarfullscreenvisibility(_:).md)
