---
title: "autorecalculatesContentBorderThickness(for:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nswindow/autorecalculatescontentborderthickness(for:)"
---

# autorecalculatesContentBorderThickness(for:)

Indicates whether the window calculates the thickness of a given border automatically.

## Declaration

```swift
func autorecalculatesContentBorderThickness(for edge: NSRectEdge) -> Bool
```

## Parameters

- `edge`: The border to check: NSMaxYEdge: Top border. NSMinYEdge: Bottom border.

## Return Value

Return Value true when the window auto-recalculates the given border’s thickness; otherwise, false.

## See Also

### Configuring the Window’s Appearance

- [styleMask](appkit/nswindow/stylemask-swift.property.md)
- [NSWindow.StyleMask](appkit/nswindow/stylemask-swift.struct.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)
