<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSegmentedControl/Style",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSSegmentStyle"
  },
  "title" : "NSSegmentedControl.Style"
}
-->

# NSSegmentedControl.Style

The following constants specify the visual style used to display the segmented control. They are used by [`segmentStyle`](/documentation/AppKit/NSSegmentedControl/segmentStyle).

```
enum Style
```

## Topics

### Constants

[`NSSegmentedControl.Style.automatic`](/documentation/AppKit/NSSegmentedControl/Style/automatic)

The appearance of the segmented control is automatically determined based on the type of window in which the control is displayed and the position within the window.

[`NSSegmentedControl.Style.rounded`](/documentation/AppKit/NSSegmentedControl/Style/rounded)

The control is displayed using the rounded style.

[`NSSegmentedControl.Style.texturedRounded`](/documentation/AppKit/NSSegmentedControl/Style/texturedRounded)

The control is displayed using the textured rounded style. In macOS 10.7 and later, this style uses the artwork defined for [`NSSegmentedControl.Style.texturedSquare`](/documentation/AppKit/NSSegmentedControl/Style/texturedSquare), so you should specify [`NSSegmentedControl.Style.texturedSquare`](/documentation/AppKit/NSSegmentedControl/Style/texturedSquare) instead.

[`NSSegmentedControl.Style.roundRect`](/documentation/AppKit/NSSegmentedControl/Style/roundRect)

The control is displayed using the round rect style.

[`NSSegmentedControl.Style.texturedSquare`](/documentation/AppKit/NSSegmentedControl/Style/texturedSquare)

The control is displayed using the textured square style.

[`NSSegmentedControl.Style.capsule`](/documentation/AppKit/NSSegmentedControl/Style/capsule)

The control is displayed using the capsule style. In macOS 10.7 and later, this style uses the artwork defined for [`NSSegmentedControl.Style.texturedSquare`](/documentation/AppKit/NSSegmentedControl/Style/texturedSquare), so you should specify [`NSSegmentedControl.Style.texturedSquare`](/documentation/AppKit/NSSegmentedControl/Style/texturedSquare) instead.

[`NSSegmentedControl.Style.smallSquare`](/documentation/AppKit/NSSegmentedControl/Style/smallSquare)

The control is displayed using the small square style.

[`NSSegmentedControl.Style.separated`](/documentation/AppKit/NSSegmentedControl/Style/separated)

The segments in the control are displayed very close to each other but not touching. For example, Safari in macOS 10.10 and later uses this style for the previous and next page segmented control.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)