Class SfCollectionViewDelegateFlowLayout
Inheritance
System.Object
SfCollectionViewDelegateFlowLayout
Assembly: Syncfusion.Core.XForms.macOS.dll
public class SfCollectionViewDelegateFlowLayout : NSCollectionViewDelegateFlowLayout
Constructors
Declaration
public SfCollectionViewDelegateFlowLayout()
Methods
Declaration
public virtual NSEdgeInsets GetInsetForSection(NSCollectionView collectionView, NSCollectionViewLayout collectionViewLayout, nint section)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
AppKit.NSCollectionViewLayout |
collectionViewLayout |
|
System.nint |
section |
|
Returns
Declaration
public virtual nfloat GetMinimumInteritemSpacingForSection(NSCollectionView collectionView, NSCollectionViewLayout collectionViewLayout, nint section)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
AppKit.NSCollectionViewLayout |
collectionViewLayout |
|
System.nint |
section |
|
Returns
Declaration
public virtual nfloat GetMinimumLineSpacingForSection(NSCollectionView collectionView, NSCollectionViewLayout collectionViewLayout, nint section)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
AppKit.NSCollectionViewLayout |
collectionViewLayout |
|
System.nint |
section |
|
Returns
Declaration
public virtual CGSize GetSizeForItem(NSCollectionView collectionView, NSCollectionViewLayout collectionViewLayout, NSIndexPath indexPath)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
AppKit.NSCollectionViewLayout |
collectionViewLayout |
|
Foundation.NSIndexPath |
indexPath |
|
Returns
Declaration
public override NSEdgeInsets InsetForSection(NSCollectionView collectionView, NSCollectionViewLayout collectionViewLayout, nint section)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
AppKit.NSCollectionViewLayout |
collectionViewLayout |
|
System.nint |
section |
|
Returns
Declaration
public virtual void ItemDeselected(NSCollectionView collectionView, NSIndexPath indexPath)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
Foundation.NSIndexPath |
indexPath |
|
Declaration
public virtual void ItemHighlighted(NSCollectionView collectionView, NSIndexPath indexPath)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
Foundation.NSIndexPath |
indexPath |
|
Declaration
public override void ItemsChanged(NSCollectionView collectionView, NSSet indexPaths, NSCollectionViewItemHighlightState highlightState)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
Foundation.NSSet |
indexPaths |
|
AppKit.NSCollectionViewItemHighlightState |
highlightState |
|
Declaration
public override void ItemsDeselected(NSCollectionView collectionView, NSSet indexPaths)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
Foundation.NSSet |
indexPaths |
|
Declaration
public virtual void ItemSelected(NSCollectionView collectionView, NSIndexPath indexPath)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
Foundation.NSIndexPath |
indexPath |
|
Declaration
public override void ItemsSelected(NSCollectionView collectionView, NSSet indexPaths)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
Foundation.NSSet |
indexPaths |
|
Declaration
public virtual void ItemUnhighlighted(NSCollectionView collectionView, NSIndexPath indexPath)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
Foundation.NSIndexPath |
indexPath |
|
Declaration
public override nfloat MinimumInteritemSpacingForSection(NSCollectionView collectionView, NSCollectionViewLayout collectionViewLayout, nint section)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
AppKit.NSCollectionViewLayout |
collectionViewLayout |
|
System.nint |
section |
|
Returns
Declaration
public override nfloat MinimumLineSpacing(NSCollectionView collectionView, NSCollectionViewLayout collectionViewLayout, nint section)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
AppKit.NSCollectionViewLayout |
collectionViewLayout |
|
System.nint |
section |
|
Returns
Declaration
public virtual bool ShouldDeselectItem(NSCollectionView collectionView, NSIndexPath indexPath)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
Foundation.NSIndexPath |
indexPath |
|
Returns
Declaration
public override NSSet ShouldDeselectItems(NSCollectionView collectionView, NSSet indexPaths)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
Foundation.NSSet |
indexPaths |
|
Returns
Declaration
public virtual bool ShouldSelectItem(NSCollectionView collectionView, NSIndexPath indexPath)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
Foundation.NSIndexPath |
indexPath |
|
Returns
Declaration
public override NSSet ShouldSelectItems(NSCollectionView collectionView, NSSet indexPaths)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
Foundation.NSSet |
indexPaths |
|
Returns
Declaration
public override CGSize SizeForItem(NSCollectionView collectionView, NSCollectionViewLayout collectionViewLayout, NSIndexPath indexPath)
Parameters
Type |
Name |
Description |
AppKit.NSCollectionView |
collectionView |
|
AppKit.NSCollectionViewLayout |
collectionViewLayout |
|
Foundation.NSIndexPath |
indexPath |
|
Returns