---
title: drawsBackground
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstabview/drawsbackground
---

# drawsBackground

A Boolean value that indicates if the tab view draws a background color when its type is NSNoTabsNoBorder.

## Declaration

```swift
var drawsBackground: Bool { get set }
```

## Discussion

Discussion When the value of this property is true, the tab view draws a background color when the its type is NSNoTabsNoBorder, otherwise it does not. If the tab view has a bezeled border or a line border, the appropriate background for that border is used. The default value of this property is true.

## See Also

### Related Documentation

- [tabViewType](appkit/nstabview/tabviewtype.md)
