---
title: tabState
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstabviewitem/tabstate
---

# tabState

Returns the current display state of the tab associated with the receiver.

## Declaration

```swift
var tabState: NSTabViewItem.State { get }
```

## Discussion

Discussion The possible values are NSSelectedTab, NSBackgroundTab, or NSPressedTab. Your application does not directly set the tab state.
