xamarinios
namespace UIKit
{
[Protocol(Name = "UICollectionViewDataSource", WrapperType = typeof(UICollectionViewDataSourceWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "MoveItem", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath), typeof(NSIndexPath) }, Selector = "collectionView:moveItemAtIndexPath:toIndexPath:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetItemsCount", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(nint) }, ReturnType = typeof(nint), Selector = "collectionView:numberOfItemsInSection:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetCell", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, ReturnType = typeof(UICollectionViewCell), Selector = "collectionView:cellForItemAtIndexPath:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "NumberOfSections", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UICollectionView) }, ReturnType = typeof(nint), Selector = "numberOfSectionsInCollectionView:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetViewForSupplementaryElement", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSString), typeof(NSIndexPath) }, ReturnType = typeof(UICollectionReusableView), Selector = "collectionView:viewForSupplementaryElementOfKind:atIndexPath:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CanMoveItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(NSIndexPath) }, ReturnType = typeof(bool), Selector = "collectionView:canMoveItemAtIndexPath:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetIndexTitles", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UICollectionView) }, ReturnType = typeof(string[]), Selector = "indexTitlesForCollectionView:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetIndexPath", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UICollectionView), typeof(string), typeof(nint) }, ReturnType = typeof(NSIndexPath), Selector = "collectionView:indexPathForIndexTitle:atIndex:")]
public interface IUICollectionViewDataSource : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("collectionView:numberOfItemsInSection:")]
[Preserve(Conditional = true)]
nint GetItemsCount(UICollectionView! collectionView, nint section);
}
}
Xamarin iOS | 0.0 |
---|---|
Xamarin tvOS | 0.0 |
Information specific to xamarinios | |
Assembly | Xamarin.iOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |