Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Super class: NSCollectionViewLayoutMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa Collection View | MBS MacControls Plugin | 21.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The NSCollectionViewGridLayoutMBS object provides the same layout behavior offered by the NSCollectionViewMBS class prior to macOS 10.11, and you can use it in cases where you want to maintain the old appearance while still taking advantage of newer collection view features.
Configuring a Collection View to Use a Grid Layout
You can configure a collection view to use a grid layout object programmatically or at design time:
Constant | Value | Description |
---|---|---|
HighlightAsDropTarget | 3 |
The drop target highlight state. This type of highlight is applied when the item is the target of a drop operation on the collection view. After the drop operation completes, the highlight state returns to HighlightNone. |
HighlightForDeselection | 2 |
The deselection highlight state. During interactive selection, this state is used to indicate that the item will become deselected when interactions end. After interactions end, the highlight state returns to HighlightNone. |
HighlightForSelection | 1 |
The selected highlight state. This type of highlight is applied when an item is selected. During interactive highlighting, this state is also applied to indicate that the item will become highlighted. |
HighlightNone | 0 |
No highlight state. |
This class has no sub classes.
The items on this page are in the following plugins: MBS MacControls Plugin.
NSCollectionViewFlowLayoutMBS - NSCollectionViewItemMBS