Instance Property

allowsUndo

A Boolean value indicating whether the cell assumes responsibility for undo operations.

Declaration

@property BOOL allowsUndo;

Discussion

The value of this property is YES if the cell handles undo operations itself or NO if the app’s custom undo manager must handle undo behavior. Cell subclasses set the value of this property to indicate their preference for handling undo operations. For example, the NSTextFieldCell class uses sets this property to indicate it handles undo operations for edited text, and other controls set a value that is appropriate for their implementation. Do not change the value of this property otherwise.

See Also

Managing Cell Attributes

- setCellAttribute:to:

Sets the value for the specified cell attribute.

- cellAttribute:

Returns the value for the specified cell attribute.

type

The type of the cell.

enabled

A Boolean value indicating whether the cell is currently enabled.