Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSCollectionViewMBS class.

NSCollectionViewMBS.NSCollectionViewScrollPositionBottom = 4

Type Topic Plugin Version
const Cocoa Collection View MBS MacControls Plugin 21.3
One of the constants indicating the options for scrolling the collection view’s content.

Scroll so that the bottom edge of the bounding box is adjacent to the bottom of the collection view’s bounds.
This option must not be combined with the NSCollectionViewScrollPositionTop, NSCollectionViewScrollPositionCenteredVertically, or NSCollectionViewScrollPositionNearestHorizontalEdge options, but may be combined with other options.

NSCollectionViewMBS.NSCollectionViewScrollPositionCenteredHorizontally = 16

Type Topic Plugin Version
const Cocoa Collection View MBS MacControls Plugin 21.3
One of the constants indicating the options for scrolling the collection view’s content.

Scroll so that the selected items’ bounding box is centered horizontally in the collection view’s bounds.
This option must not be combined with the NSCollectionViewScrollPositionLeft, NSCollectionViewScrollPositionRight, NSCollectionViewScrollPositionLeadingEdge, NSCollectionViewScrollPositionTrailingEdge, or NSCollectionViewScrollPositionNearestVerticalEdge options, but may be combined with other options.

NSCollectionViewMBS.NSCollectionViewScrollPositionCenteredVertically = 2

Type Topic Plugin Version
const Cocoa Collection View MBS MacControls Plugin 21.3
One of the constants indicating the options for scrolling the collection view’s content.

Scroll so that the bounding box of the selected items is centered vertically in the collection view’s bounds.
This option must not be combined with the NSCollectionViewScrollPositionTop, NSCollectionViewScrollPositionBottom, or NSCollectionViewScrollPositionNearestHorizontalEdge options, but may be combined with other options.

NSCollectionViewMBS.NSCollectionViewScrollPositionLeadingEdge = 64

Type Topic Plugin Version
const Cocoa Collection View MBS MacControls Plugin 21.3
One of the constants indicating the options for scrolling the collection view’s content.

Scroll so that the leading edge of the selected items’ bounding box is adjacent to the leading edge of the collection view’s bounds.
Use this option to support both left-to-right and right-to-left layouts appropriately. This option must not be combined with the NSCollectionViewScrollPositionLeft, NSCollectionViewScrollPositionCenteredHorizontally, NSCollectionViewScrollPositionRight, NSCollectionViewScrollPositionTrailingEdge, or NSCollectionViewScrollPositionNearestVerticalEdge options, but may be combined with other options.

NSCollectionViewMBS.NSCollectionViewScrollPositionLeft = 8

Type Topic Plugin Version
const Cocoa Collection View MBS MacControls Plugin 21.3
One of the constants indicating the options for scrolling the collection view’s content.

Scroll so that the left edge of the selected items’ bounding box is adjacent to the left edge of the collection view’s bounds.
This option must not be combined with the NSCollectionViewScrollPositionCenteredHorizontally, NSCollectionViewScrollPositionRight, NSCollectionViewScrollPositionLeadingEdge, NSCollectionViewScrollPositionTrailingEdge, or NSCollectionViewScrollPositionNearestVerticalEdge options, but may be combined with other options.

NSCollectionViewMBS.NSCollectionViewScrollPositionNearestHorizontalEdge = 512

Type Topic Plugin Version
const Cocoa Collection View MBS MacControls Plugin 21.3
One of the constants indicating the options for scrolling the collection view’s content.

Scroll so that the bounding box is adjacent to the nearest edge (top or bottom) of the collection view.
This option must not be combined with the NSCollectionViewScrollPositionTop, NSCollectionViewScrollPositionCenteredVertically, or NSCollectionViewScrollPositionBottom options, but may be combined with other options.

NSCollectionViewMBS.NSCollectionViewScrollPositionNearestVerticalEdge = 256

Type Topic Plugin Version
const Cocoa Collection View MBS MacControls Plugin 21.3
One of the constants indicating the options for scrolling the collection view’s content.

Scroll so that the bounding box is adjacent to the nearest edge (leading or trailing) of the collection view.
Use this option to support both left-to-right and right-to-left layouts appropriately. This option must not be combined with the NSCollectionViewScrollPositionLeft, NSCollectionViewScrollPositionCenteredHorizontally, NSCollectionViewScrollPositionRight, NSCollectionViewScrollPositionLeadingEdge, or NSCollectionViewScrollPositionTrailingEdge options, but may be combined with other options.

NSCollectionViewMBS.NSCollectionViewScrollPositionNone = 0

Type Topic Plugin Version
const Cocoa Collection View MBS MacControls Plugin 21.3
One of the constants indicating the options for scrolling the collection view’s content.

Do not scroll.

NSCollectionViewMBS.NSCollectionViewScrollPositionRight = 32

Type Topic Plugin Version
const Cocoa Collection View MBS MacControls Plugin 21.3
One of the constants indicating the options for scrolling the collection view’s content.

Scroll so that the right edge of the selected items’ bounding box is adjacent to the right edge of the collection view’s bounds.
This option must not be combined with the NSCollectionViewScrollPositionLeft, NSCollectionViewScrollPositionCenteredHorizontally, NSCollectionViewScrollPositionLeadingEdge, NSCollectionViewScrollPositionTrailingEdge, or NSCollectionViewScrollPositionNearestVerticalEdge options, but may be combined with other options.

NSCollectionViewMBS.NSCollectionViewScrollPositionTop = 1

Type Topic Plugin Version
const Cocoa Collection View MBS MacControls Plugin 21.3
One of the constants indicating the options for scrolling the collection view’s content.

Scroll so that the top edge of the selected items’ bounding box is adjacent to the top edge of the collection view’s bounds.
This option must not be combined with the NSCollectionViewScrollPositionCenteredVertically, NSCollectionViewScrollPositionBottom, and NSCollectionViewScrollPositionNearestHorizontalEdge options, but may be combined with other options.

NSCollectionViewMBS.NSCollectionViewScrollPositionTrailingEdge = 128

Type Topic Plugin Version
const Cocoa Collection View MBS MacControls Plugin 21.3
One of the constants indicating the options for scrolling the collection view’s content.

Scroll so that the trailing edge of the selected items’ bounding box is adjacent to the trailing edge of the collection view’s bounds.
Use this option to support both left-to-right and right-to-left layouts appropriately. This option must not be combined with the NSCollectionViewScrollPositionLeft, NSCollectionViewScrollPositionCenteredHorizontally, NSCollectionViewScrollPositionRight, NSCollectionViewScrollPositionLeadingEdge, or NSCollectionViewScrollPositionNearestVerticalEdge options, but may be combined with other options.

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


💬 Ask a question or report a problem
The biggest plugin in space...