Share via


INSCollectionViewDelegateFlowLayout Interface

Definition

This interface represents the Objective-C protocol NSCollectionViewDelegateFlowLayout.

[Foundation.Protocol(Name="NSCollectionViewDelegateFlowLayout", WrapperType=typeof(AppKit.NSCollectionViewDelegateFlowLayoutWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SizeForItem", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewLayout), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="collectionView:layout:sizeForItemAtIndexPath:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InsetForSection", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewLayout), typeof(System.IntPtr) }, ReturnType=typeof(AppKit.NSEdgeInsets), Selector="collectionView:layout:insetForSectionAtIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="MinimumLineSpacing", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewLayout), typeof(System.IntPtr) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="collectionView:layout:minimumLineSpacingForSectionAtIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="MinimumInteritemSpacingForSection", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewLayout), typeof(System.IntPtr) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="collectionView:layout:minimumInteritemSpacingForSectionAtIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReferenceSizeForHeader", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewLayout), typeof(System.IntPtr) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="collectionView:layout:referenceSizeForHeaderInSection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReferenceSizeForFooter", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewLayout), typeof(System.IntPtr) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="collectionView:layout:referenceSizeForFooterInSection:")]
public interface INSCollectionViewDelegateFlowLayout : AppKit.INSCollectionViewDelegate, IDisposable
[<Foundation.Protocol(Name="NSCollectionViewDelegateFlowLayout", WrapperType=typeof(AppKit.NSCollectionViewDelegateFlowLayoutWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SizeForItem", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewLayout), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="collectionView:layout:sizeForItemAtIndexPath:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InsetForSection", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewLayout), typeof(System.IntPtr) }, ReturnType=typeof(AppKit.NSEdgeInsets), Selector="collectionView:layout:insetForSectionAtIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="MinimumLineSpacing", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewLayout), typeof(System.IntPtr) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="collectionView:layout:minimumLineSpacingForSectionAtIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="MinimumInteritemSpacingForSection", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewLayout), typeof(System.IntPtr) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="collectionView:layout:minimumInteritemSpacingForSectionAtIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReferenceSizeForHeader", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewLayout), typeof(System.IntPtr) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="collectionView:layout:referenceSizeForHeaderInSection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReferenceSizeForFooter", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewLayout), typeof(System.IntPtr) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="collectionView:layout:referenceSizeForFooterInSection:")>]
type INSCollectionViewDelegateFlowLayout = interface
    interface INativeObject
    interface IDisposable
    interface INSCollectionViewDelegate
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
AcceptDrop(NSCollectionView, INSDraggingInfo, IntPtr, NSCollectionViewDropOperation) (Inherited from INSCollectionViewDelegate)
AcceptDrop(NSCollectionView, INSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation) (Inherited from INSCollectionViewDelegate)
CanDragItems(NSCollectionView, NSIndexSet, NSEvent) (Inherited from INSCollectionViewDelegate)
CanDragItems(NSCollectionView, NSSet, NSEvent) (Inherited from INSCollectionViewDelegate)
DisplayingItemEnded(NSCollectionView, NSCollectionViewItem, NSIndexPath) (Inherited from INSCollectionViewDelegate)
DisplayingSupplementaryViewEnded(NSCollectionView, NSView, String, NSIndexPath) (Inherited from INSCollectionViewDelegate)
DraggingSessionEnded(NSCollectionView, NSDraggingSession, CGPoint, NSDragOperation) (Inherited from INSCollectionViewDelegate)
DraggingSessionWillBegin(NSCollectionView, NSDraggingSession, CGPoint, NSIndexSet) (Inherited from INSCollectionViewDelegate)
DraggingSessionWillBegin(NSCollectionView, NSDraggingSession, CGPoint, NSSet) (Inherited from INSCollectionViewDelegate)
GetDraggingImage(NSCollectionView, NSSet, NSEvent, CGPoint) (Inherited from INSCollectionViewDelegate)
GetNamesOfPromisedFiles(NSCollectionView, NSUrl, NSSet) (Inherited from INSCollectionViewDelegate)
GetPasteboardWriter(NSCollectionView, NSIndexPath) (Inherited from INSCollectionViewDelegate)
InsetForSection(NSCollectionView, NSCollectionViewLayout, IntPtr)
ItemsChanged(NSCollectionView, NSSet, NSCollectionViewItemHighlightState) (Inherited from INSCollectionViewDelegate)
ItemsDeselected(NSCollectionView, NSSet) (Inherited from INSCollectionViewDelegate)
ItemsSelected(NSCollectionView, NSSet) (Inherited from INSCollectionViewDelegate)
MinimumInteritemSpacingForSection(NSCollectionView, NSCollectionViewLayout, IntPtr)
MinimumLineSpacing(NSCollectionView, NSCollectionViewLayout, IntPtr)
NamesOfPromisedFilesDroppedAtDestination(NSCollectionView, NSUrl, NSIndexSet) (Inherited from INSCollectionViewDelegate)
PasteboardWriterForItem(NSCollectionView, UIntPtr) (Inherited from INSCollectionViewDelegate)
ReferenceSizeForFooter(NSCollectionView, NSCollectionViewLayout, IntPtr)
ReferenceSizeForHeader(NSCollectionView, NSCollectionViewLayout, IntPtr)
ShouldChangeItems(NSCollectionView, NSSet, NSCollectionViewItemHighlightState) (Inherited from INSCollectionViewDelegate)
ShouldDeselectItems(NSCollectionView, NSSet) (Inherited from INSCollectionViewDelegate)
ShouldSelectItems(NSCollectionView, NSSet) (Inherited from INSCollectionViewDelegate)
SizeForItem(NSCollectionView, NSCollectionViewLayout, NSIndexPath)
TransitionLayout(NSCollectionView, NSCollectionViewLayout, NSCollectionViewLayout) (Inherited from INSCollectionViewDelegate)
UpdateDraggingItemsForDrag(NSCollectionView, INSDraggingInfo) (Inherited from INSCollectionViewDelegate)
ValidateDrop(NSCollectionView, INSDraggingInfo, IntPtr, NSCollectionViewDropOperation) (Inherited from INSCollectionViewDelegate)
ValidateDrop(NSCollectionView, INSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation) (Inherited from INSCollectionViewDelegate)
WillDisplayItem(NSCollectionView, NSCollectionViewItem, NSIndexPath) (Inherited from INSCollectionViewDelegate)
WillDisplaySupplementaryView(NSCollectionView, NSView, NSString, NSIndexPath) (Inherited from INSCollectionViewDelegate)
WriteItems(NSCollectionView, NSIndexSet, NSPasteboard) (Inherited from INSCollectionViewDelegate)
WriteItems(NSCollectionView, NSSet, NSPasteboard) (Inherited from INSCollectionViewDelegate)

Extension Methods

Name Description
AcceptDrop(INSCollectionViewDelegate, NSCollectionView, INSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
AcceptDrop(INSCollectionViewDelegate, NSCollectionView, INSDraggingInfo, IntPtr, NSCollectionViewDropOperation)
CanDragItems(INSCollectionViewDelegate, NSCollectionView, NSIndexSet, NSEvent)
CanDragItems(INSCollectionViewDelegate, NSCollectionView, NSSet, NSEvent)
DisplayingItemEnded(INSCollectionViewDelegate, NSCollectionView, NSCollectionViewItem, NSIndexPath)
DisplayingSupplementaryViewEnded(INSCollectionViewDelegate, NSCollectionView, NSView, String, NSIndexPath)
DraggingSessionEnded(INSCollectionViewDelegate, NSCollectionView, NSDraggingSession, CGPoint, NSDragOperation)
DraggingSessionWillBegin(INSCollectionViewDelegate, NSCollectionView, NSDraggingSession, CGPoint, NSIndexSet)
DraggingSessionWillBegin(INSCollectionViewDelegate, NSCollectionView, NSDraggingSession, CGPoint, NSSet)
GetDraggingImage(INSCollectionViewDelegate, NSCollectionView, NSSet, NSEvent, CGPoint)
GetNamesOfPromisedFiles(INSCollectionViewDelegate, NSCollectionView, NSUrl, NSSet)
GetPasteboardWriter(INSCollectionViewDelegate, NSCollectionView, NSIndexPath)
ItemsChanged(INSCollectionViewDelegate, NSCollectionView, NSSet, NSCollectionViewItemHighlightState)
ItemsDeselected(INSCollectionViewDelegate, NSCollectionView, NSSet)
ItemsSelected(INSCollectionViewDelegate, NSCollectionView, NSSet)
NamesOfPromisedFilesDroppedAtDestination(INSCollectionViewDelegate, NSCollectionView, NSUrl, NSIndexSet)
PasteboardWriterForItem(INSCollectionViewDelegate, NSCollectionView, UIntPtr)
ShouldChangeItems(INSCollectionViewDelegate, NSCollectionView, NSSet, NSCollectionViewItemHighlightState)
ShouldDeselectItems(INSCollectionViewDelegate, NSCollectionView, NSSet)
ShouldSelectItems(INSCollectionViewDelegate, NSCollectionView, NSSet)
TransitionLayout(INSCollectionViewDelegate, NSCollectionView, NSCollectionViewLayout, NSCollectionViewLayout)
UpdateDraggingItemsForDrag(INSCollectionViewDelegate, NSCollectionView, INSDraggingInfo)
ValidateDrop(INSCollectionViewDelegate, NSCollectionView, INSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
ValidateDrop(INSCollectionViewDelegate, NSCollectionView, INSDraggingInfo, IntPtr, NSCollectionViewDropOperation)
WillDisplayItem(INSCollectionViewDelegate, NSCollectionView, NSCollectionViewItem, NSIndexPath)
WillDisplaySupplementaryView(INSCollectionViewDelegate, NSCollectionView, NSView, NSString, NSIndexPath)
WriteItems(INSCollectionViewDelegate, NSCollectionView, NSIndexSet, NSPasteboard)
WriteItems(INSCollectionViewDelegate, NSCollectionView, NSSet, NSPasteboard)
InsetForSection(INSCollectionViewDelegateFlowLayout, NSCollectionView, NSCollectionViewLayout, IntPtr)
MinimumInteritemSpacingForSection(INSCollectionViewDelegateFlowLayout, NSCollectionView, NSCollectionViewLayout, IntPtr)
MinimumLineSpacing(INSCollectionViewDelegateFlowLayout, NSCollectionView, NSCollectionViewLayout, IntPtr)
ReferenceSizeForFooter(INSCollectionViewDelegateFlowLayout, NSCollectionView, NSCollectionViewLayout, IntPtr)
ReferenceSizeForHeader(INSCollectionViewDelegateFlowLayout, NSCollectionView, NSCollectionViewLayout, IntPtr)
SizeForItem(INSCollectionViewDelegateFlowLayout, NSCollectionView, NSCollectionViewLayout, NSIndexPath)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to