NSCellAttribute Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a generic attribute of a cell that can be queried or modified using the legacy GetCellAttribute and SetCellAttribute APIs.
[ObjCRuntime.Native]
public enum NSCellAttribute
[<ObjCRuntime.Native>]
type NSCellAttribute =
- Inheritance
-
NSCellAttribute
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| CellDisabled | 0 | The cell does not respond to mouse events or other user actions. |
| CellState | 1 | The current on/off/mixed state of the cell. |
| PushInCell | 2 | The cell is drawn with a pushed-in (pressed) appearance. |
| CellEditable | 3 | The cell's contents can be edited by the user. |
| ChangeGrayCell | 4 | The cell darkens its image when its state is on or mixed. |
| CellHighlighted | 5 | The cell is currently highlighted. |
| CellLightsByContents | 6 | The cell indicates its highlighted state by changing its contents rather than its background. |
| CellLightsByGray | 7 | The cell indicates its highlighted state by changing to a grayed appearance. |
| ChangeBackgroundCell | 8 | The cell changes its background when its state is on or mixed. |
| CellLightsByBackground | 9 | The cell indicates its highlighted state by lightening or darkening its background. |
| CellIsBordered | 10 | The cell draws a border around itself. |
| CellHasOverlappingImage | 11 | The cell's image is drawn overlapping its title text. |
| CellHasImageHorizontal | 12 | The cell's image and title are arranged horizontally, side by side. |
| CellHasImageOnLeftOrBottom | 13 | The cell's image is positioned to the left of, or below, its title. |
| CellChangesContents | 14 | The cell's displayed contents change to reflect its current state. |
| CellIsInsetButton | 15 | The degree to which the cell's bezel is inset, expressed as an integer level. |
| CellAllowsMixedState | 16 | The cell supports a third, mixed state in addition to its on and off states. |