---
title: NSWindow.StyleMask
framework: appkit
role: symbol
role_heading: Structure
path: appkit/nswindow/stylemask-swift.struct
---

# NSWindow.StyleMask

Constants that specify the style of a window, and that you can combine with the C bitwise OR operator.

## Declaration

```swift
struct StyleMask
```

## Topics

### Constants

- [borderless](appkit/nswindow/stylemask-swift.struct/borderless.md)
- [titled](appkit/nswindow/stylemask-swift.struct/titled.md)
- [closable](appkit/nswindow/stylemask-swift.struct/closable.md)
- [miniaturizable](appkit/nswindow/stylemask-swift.struct/miniaturizable.md)
- [resizable](appkit/nswindow/stylemask-swift.struct/resizable.md)
- [texturedBackground](appkit/nswindow/stylemask-swift.struct/texturedbackground.md)
- [unifiedTitleAndToolbar](appkit/nswindow/stylemask-swift.struct/unifiedtitleandtoolbar.md)
- [fullScreen](appkit/nswindow/stylemask-swift.struct/fullscreen.md)
- [fullSizeContentView](appkit/nswindow/stylemask-swift.struct/fullsizecontentview.md)
- [utilityWindow](appkit/nswindow/stylemask-swift.struct/utilitywindow.md)
- [docModalWindow](appkit/nswindow/stylemask-swift.struct/docmodalwindow.md)
- [nonactivatingPanel](appkit/nswindow/stylemask-swift.struct/nonactivatingpanel.md)
- [hudWindow](appkit/nswindow/stylemask-swift.struct/hudwindow.md)

### Style Mask Creation

- [init(rawValue:)](appkit/nswindow/stylemask-swift.struct/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Configuring the Window’s Appearance

- [styleMask](appkit/nswindow/stylemask-swift.property.md)
- [toggleFullScreen(_:)](appkit/nswindow/togglefullscreen(_:).md)
- [worksWhenModal](appkit/nswindow/workswhenmodal.md)
- [alphaValue](appkit/nswindow/alphavalue.md)
- [backgroundColor](appkit/nswindow/backgroundcolor.md)
- [colorSpace](appkit/nswindow/colorspace.md)
- [setDynamicDepthLimit(_:)](appkit/nswindow/setdynamicdepthlimit(_:).md)
- [canHide](appkit/nswindow/canhide.md)
- [isOnActiveSpace](appkit/nswindow/isonactivespace.md)
- [hidesOnDeactivate](appkit/nswindow/hidesondeactivate.md)
- [collectionBehavior](appkit/nswindow/collectionbehavior-swift.property.md)
- [isOpaque](appkit/nswindow/isopaque.md)
- [hasShadow](appkit/nswindow/hasshadow.md)
- [invalidateShadow()](appkit/nswindow/invalidateshadow().md)
- [autorecalculatesContentBorderThickness(for:)](appkit/nswindow/autorecalculatescontentborderthickness(for:).md)
