---
title: controlSize
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscell/controlsize
---

# controlSize

The size of the cell.

## Declaration

```swift
var controlSize: NSControl.ControlSize { get set }
```

## Discussion

Discussion Use this property to change the rendered size of the cell and its control. For a list of possible values, see NSControl.ControlSize. Changing the cell’s control size does not change the font used by the cell. Use the systemFontSize(for:) class method of NSFont to obtain an appropriate font based on the new control size.

## See Also

### Determining Cell Size

- [calcDrawInfo(_:)](appkit/nscell/calcdrawinfo(_:).md)
- [cellSize](appkit/nscell/cellsize.md)
- [cellSize(forBounds:)](appkit/nscell/cellsize(forbounds:).md)
- [drawingRect(forBounds:)](appkit/nscell/drawingrect(forbounds:).md)
- [imageRect(forBounds:)](appkit/nscell/imagerect(forbounds:).md)
- [titleRect(forBounds:)](appkit/nscell/titlerect(forbounds:).md)
