Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSCollectionViewItemMBS class.

NSCollectionViewItemMBS.collectionView as NSCollectionViewMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Collection View MBS MacControls Plugin 21.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The collection view that owns the item.

Use this property as a convenient way to access the collection view that owns the item.
(Read only property)

NSCollectionViewItemMBS.highlightState as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Collection View MBS MacControls Plugin 21.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The highlight state currently applied to the item.

The highlight state provides a visual indication of operations happening to items in the collection view. The highlight state normally toggles between the HighlightNone and HighlightForSelection states, but other states may be applied to indicate transient conditions. For example, the HighlightForDeselection state is applied during interactive selections when a currently selected item is about to be deselected.
(Read and Write property)

NSCollectionViewItemMBS.identifier as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Collection View MBS MacControls Plugin 21.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The identifier.

(Read only property)

NSCollectionViewItemMBS.imageView as NSImageViewMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Collection View MBS MacControls Plugin 21.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
An image view outlet that you can use to display images.

This is a convenience property for accessing an image view in your item’s view hierarchy.
(Read and Write property)

NSCollectionViewItemMBS.selected as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Collection View MBS MacControls Plugin 21.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A Boolean indicating whether the item is currently selected.

The value of this property is true when the item is selected or false when it is not.
(Read and Write property)

NSCollectionViewItemMBS.textField as NSTextFieldMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Collection View MBS MacControls Plugin 21.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A text field outlet that you can use to display a string.

This is a convenience property for accessing a text field in your item’s view hierarchy.
(Read and Write property)

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


The biggest plugin in space...