<!--
{
  "availability" : [
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSStrikethroughStyleAttributeName",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSStrikethroughStyleAttributeName"
  },
  "title" : "NSStrikethroughStyleAttributeName"
}
-->

# NSStrikethroughStyleAttributeName

The strikethrough style of the text.

```
extern NSAttributedStringKey NSStrikethroughStyleAttributeName;
```

## Discussion

The value of this attribute is an <doc://com.apple.documentation/documentation/Foundation/NSNumber> object containing an integer. This value indicates whether the text has a line through it and corresponds to one of the constants described in [`NSUnderlineStyle`](/documentation/AppKit/NSUnderlineStyle). The default value for this attribute is [`NSUnderlineStyleNone`](/documentation/AppKit/NSUnderlineStyle/NSUnderlineStyleNone).

---

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)