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

# rowSizeStyle

Returns the row size style.

```
var rowSizeStyle: NSTableView.RowSizeStyle { get set }
```

## Discussion

The `rowSizeStyle` property is set by the `NSTableView` to its [`effectiveRowSizeStyle`](/documentation/AppKit/NSTableView/effectiveRowSizeStyle). The cell view will layout the [`textField`](/documentation/AppKit/NSTableCellView/textField) and [`imageView`](/documentation/AppKit/NSTableCellView/imageView) based on the `rowSizeStyle`.

A value of [`NSTableView.RowSizeStyle.default`](/documentation/AppKit/NSTableView/RowSizeStyle-swift.enum/default) should never be set on the cell view, as it is an appropriate value only for the table as it returns the effective row size style for the table.

---

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)