---
title: segmentStyle
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nssegmentedcontrol/segmentstyle
---

# segmentStyle

The visual style used to display the control.

## Declaration

```swift
var segmentStyle: NSSegmentedControl.Style { get set }
```

## Discussion

Discussion An NSSegmentStyle value that specifies the visual display used by the control. For possible values, see NSSegmentedControl.Style.

## See Also

### Specifying the segment behavior

- [trackingMode](appkit/nssegmentedcontrol/trackingmode.md)
- [NSSegmentedControl.SwitchTracking](appkit/nssegmentedcontrol/switchtracking.md)
- [NSSegmentedControl.Style](appkit/nssegmentedcontrol/style.md)
