---
title: attributedAlternateTitle
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsbutton/attributedalternatetitle
---

# attributedAlternateTitle

The title that the button displays as an attributed string when the button is in an on state.

## Declaration

```swift
@NSCopying var attributedAlternateTitle: NSAttributedString { get set }
```

## Discussion

Discussion This property contains the string that appears on the button when it’s in an on state, as an NSAttributedString, or the empty string if the button doesn’t display an alternate title. By default, a button’s alternate title is Button.

## See Also

### Configuring buttons

- [setButtonType(_:)](appkit/nsbutton/setbuttontype(_:).md)
- [getPeriodicDelay(_:interval:)](appkit/nsbutton/getperiodicdelay(_:interval:).md)
- [setPeriodicDelay(_:interval:)](appkit/nsbutton/setperiodicdelay(_:interval:).md)
- [contentTintColor](appkit/nsbutton/contenttintcolor.md)
- [hasDestructiveAction](appkit/nsbutton/hasdestructiveaction.md)
- [alternateTitle](appkit/nsbutton/alternatetitle.md)
- [attributedTitle](appkit/nsbutton/attributedtitle.md)
- [title](appkit/nsbutton/title.md)
- [symbolConfiguration](appkit/nsbutton/symbolconfiguration.md)
- [sound](appkit/nsbutton/sound.md)
- [isSpringLoaded](appkit/nsbutton/isspringloaded.md)
- [maxAcceleratorLevel](appkit/nsbutton/maxacceleratorlevel.md)
- [tintProminence](appkit/nsbutton/tintprominence.md)
- [NSTintProminence](appkit/nstintprominence.md)
- [borderShape](appkit/nsbutton/bordershape.md)
