<!--
{
  "availability" : [
    "macOS: 10.8.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSControl/allowsExpansionToolTips",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSControl(py)allowsExpansionToolTips"
  },
  "title" : "allowsExpansionToolTips"
}
-->

# allowsExpansionToolTips

A Boolean value that indicates whether expansion tool tips are shown when the control is hovered over.

```
var allowsExpansionToolTips: Bool { get set }
```

## Discussion

When the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, the expansion tool tip will expand; <doc://com.apple.documentation/documentation/Swift/false> means the tool tip won’t expand. The default value is <doc://com.apple.documentation/documentation/Swift/false>.

Expansion tooltips are shown when the cell cannot show the full content and the user hovers the pointer over the control. This is controlled by the [`NSCell`](/documentation/AppKit/NSCell) class method [`expansionFrame(withFrame:in:)`](/documentation/AppKit/NSCell/expansionFrame(withFrame:in:)) and is drawn by [`draw(withExpansionFrame:in:)`](/documentation/AppKit/NSCell/draw(withExpansionFrame:in:)). This value is encoded along with the control.

In general, it is recommended to turn this on for [`NSTextField`](/documentation/AppKit/NSTextField) instances in a view-based [`NSTableView`](/documentation/AppKit/NSTableView).

---

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)