Instance Property

wraps

A Boolean value indicating whether the cell wraps text whose length that exceeds the cell’s frame.

Declaration

@property BOOL wraps;

Discussion

When the value of this property is YES, the cell wraps text and makes the cell non-scrollable. If the text of the cell is an attributed string value, you must explicitly set the paragraph style line break mode. Setting the value of this property to YES is equivalent to setting the lineBreakMode property to NSLineBreakByWordWrapping.

See Also

Modifying Textual Attributes

editable

A Boolean value indicating whether the cell is editable.

selectable

A Boolean value indicating whether the cell’s text can be selected.

scrollable

A Boolean value indicating whether excess text scrolls past the cell’s bounds.

alignment

The alignment of the cell’s text.

font

The font that the cell uses to display text.

lineBreakMode

The line break mode to use when drawing text in the cell.

truncatesLastVisibleLine

A Boolean value indicating whether the cell truncates text that does not fit within the cell’s bounds.

baseWritingDirection

The initial writing direction used to determine the actual writing direction for text.

attributedStringValue

The cell’s value as an attributed string.

allowsEditingTextAttributes

A Boolean value indicating whether the cell allows the editing of its content’s text attributes by the user.

importsGraphics

A Boolean value indicating whether the cell supports the importation of images into its text.

- setUpFieldEditorAttributes:

Configures the textual and background attributes of the receiver's field editor.

title

The cell’s title text.