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

# 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.

```
case capsule
```

---

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)