xamarinios
namespace UIKit
{
[Protocol(Name = "UITableViewDataSource", WrapperType = typeof(UITableViewDataSourceWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CommitEditingStyle", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITableView), typeof(UITableViewCellEditingStyle), typeof(NSIndexPath) }, Selector = "tableView:commitEditingStyle:forRowAtIndexPath:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "MoveRow", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITableView), typeof(NSIndexPath), typeof(NSIndexPath) }, Selector = "tableView:moveRowAtIndexPath:toIndexPath:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "RowsInSection", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITableView), typeof(nint) }, ReturnType = typeof(nint), Selector = "tableView:numberOfRowsInSection:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetCell", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITableView), typeof(NSIndexPath) }, ReturnType = typeof(UITableViewCell), Selector = "tableView:cellForRowAtIndexPath:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "NumberOfSections", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UITableView) }, ReturnType = typeof(nint), Selector = "numberOfSectionsInTableView:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "TitleForHeader", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITableView), typeof(nint) }, ReturnType = typeof(string), Selector = "tableView:titleForHeaderInSection:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "TitleForFooter", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITableView), typeof(nint) }, ReturnType = typeof(string), Selector = "tableView:titleForFooterInSection:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CanEditRow", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITableView), typeof(NSIndexPath) }, ReturnType = typeof(bool), Selector = "tableView:canEditRowAtIndexPath:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CanMoveRow", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UITableView), typeof(NSIndexPath) }, ReturnType = typeof(bool), Selector = "tableView:canMoveRowAtIndexPath:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SectionIndexTitles", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UITableView) }, ReturnType = typeof(string[]), Selector = "sectionIndexTitlesForTableView:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SectionFor", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UITableView), typeof(string), typeof(nint) }, ReturnType = typeof(nint), Selector = "tableView:sectionForSectionIndexTitle:atIndex:")]
public interface IUITableViewDataSource : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("tableView:numberOfRowsInSection:")]
[Preserve(Conditional = true)]
nint RowsInSection(UITableView! tableView, 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. |