xamarinmac
namespace AppKit
{
    [Protocol(Name = "NSCollectionViewDataSource", WrapperType = typeof(NSCollectionViewDataSourceWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetNumberofItems", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(nint) }, ReturnType = typeof(nint), Selector = "collectionView:numberOfItemsInSection:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSIndexPath) }, ReturnType = typeof(NSCollectionViewItem), Selector = "collectionView:itemForRepresentedObjectAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetNumberOfSections", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSCollectionView) }, ReturnType = typeof(nint), Selector = "numberOfSectionsInCollectionView:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetView", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSString), typeof(NSIndexPath) }, ReturnType = typeof(NSView), Selector = "collectionView:viewForSupplementaryElementOfKind:atIndexPath:")]
    public interface INSCollectionViewDataSource : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("collectionView:numberOfItemsInSection:")]
        [Introduced(PlatformName.MacOSX, 10, 11, PlatformArchitecture.All, null)]
        [Introduced(PlatformName.MacOSX, 10, 11, PlatformArchitecture.All, null)]
        [Preserve(Conditional = true)]
        nint GetNumberofItems(NSCollectionView! collectionView, nint section);
    }
}
Xamarin macOS 0.0
Information specific to xamarinmac
Assembly

Xamarin.Mac , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API

12/26/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙