Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSCollectionViewFlowLayoutInvalidationContextMBS class.

NSCollectionViewFlowLayoutInvalidationContextMBS.invalidateFlowLayoutAttributes 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 value indicating whether the flow layout object should invalidate its current attributes.

Setting this property to NO tells the flow layout object to keep its existing layout information, effectively stopping the invalidation process. Typically, you set this property to false only if you subclass NSCollectionViewFlowLayoutMBS and update changed layout information directly.
The default value of this property is true, which causes the flow layout object to throw out its existing layout information and recompute it.
(Read and Write property)

NSCollectionViewFlowLayoutInvalidationContextMBS.invalidateFlowLayoutDelegateMetrics 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 value indicating whether the flow layout object should fetch new size information from its delegate.

As part of the invalidation process, the flow layout object normally asks its delegate to provide size information for the items in the flow layout. This behavior is necessary when the size of the items can change because it ensures that the corresponding layout attributes are always updated. However, if you know that the size of items has not changed, you can set this property to false. Doing so causes the flow layout to use its existing size information rather than querying the delegate, which saves time.
The default value of this property is YES, which causes the flow layout object to query the delegate for new size information.
(Read and Write property)

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


The biggest plugin in space...