Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSTextFieldCellMBS class.

NSTextFieldCellMBS.backgroundColor as NSColorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The color of the background the receiver draws behind the text.

(Read and Write property)

NSTextFieldCellMBS.bezelStyle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The receiver's bezel style.

To set the bezel style, you must have already set Bezeled to true.
(Read and Write property)

NSTextFieldCellMBS.drawsBackground as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A Boolean value that indicates whether the receiver draws its background color.

In order to prevent inconsistent rendering, background color rendering is disabled for rounded-bezel text fields.
(Read and Write property)

NSTextFieldCellMBS.placeholderAttributedString as NSAttributedStringMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The placeholder of the cell as an attributed string.

Note that invoking this successfully will clear out any plain text string set by PlaceholderString.

Available in Mac OS X v10.3 and later.
(Read and Write property)

NSTextFieldCellMBS.placeholderString as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The placeholder of the cell as a plain text string.

Note that invoking this successfully will clear out any attributed string set by setPlaceholderAttributedString.
(Read and Write property)

NSTextFieldCellMBS.textColor as NSColorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The color used to draw the receiver's text.

(Read and Write property)

The items on this page are in the following plugins: MBS MacCocoa Plugin.


The biggest plugin in space...