Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
317 lines (316 sloc) 20.7 KB
<Type Name="UITableViewDataSource_Extensions" FullName="UIKit.UITableViewDataSource_Extensions">
<TypeSignature Language="C#" Value="public static class UITableViewDataSource_Extensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit UITableViewDataSource_Extensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:UIKit.UITableViewDataSource_Extensions" />
<TypeSignature Language="F#" Value="type UITableViewDataSource_Extensions = class" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Extension methods to the <see cref="T:UIKit.IUITableViewDataSource" /> interface to support all the methods from the <see cref="T:UIKit.UITableViewDataSource" /> protocol.</summary>
<remarks>
<para>The extension methods for <see cref="T:UIKit.IUITableViewDataSource" /> allow developers to treat instances of the interface as having all the optional methods of the original <see cref="T:UIKit.UITableViewDataSource" /> protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
</remarks>
</Docs>
<Members>
<Member MemberName="CanEditRow">
<MemberSignature Language="C#" Value="public static bool CanEditRow (this UIKit.IUITableViewDataSource This, UIKit.UITableView tableView, Foundation.NSIndexPath indexPath);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool CanEditRow(class UIKit.IUITableViewDataSource This, class UIKit.UITableView tableView, class Foundation.NSIndexPath indexPath) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewDataSource_Extensions.CanEditRow(UIKit.IUITableViewDataSource,UIKit.UITableView,Foundation.NSIndexPath)" />
<MemberSignature Language="F#" Value="static member CanEditRow : UIKit.IUITableViewDataSource * UIKit.UITableView * Foundation.NSIndexPath -&gt; bool" Usage="UIKit.UITableViewDataSource_Extensions.CanEditRow (This, tableView, indexPath)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="This" Type="UIKit.IUITableViewDataSource" RefType="this" />
<Parameter Name="tableView" Type="UIKit.UITableView" />
<Parameter Name="indexPath" Type="Foundation.NSIndexPath" />
</Parameters>
<Docs>
<param name="This">The instance on which this extension method operates.</param>
<param name="tableView">Table view containing the row.</param>
<param name="indexPath">Location of the row.</param>
<summary>Whether the row located at should be editable.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CanMoveRow">
<MemberSignature Language="C#" Value="public static bool CanMoveRow (this UIKit.IUITableViewDataSource This, UIKit.UITableView tableView, Foundation.NSIndexPath indexPath);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool CanMoveRow(class UIKit.IUITableViewDataSource This, class UIKit.UITableView tableView, class Foundation.NSIndexPath indexPath) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewDataSource_Extensions.CanMoveRow(UIKit.IUITableViewDataSource,UIKit.UITableView,Foundation.NSIndexPath)" />
<MemberSignature Language="F#" Value="static member CanMoveRow : UIKit.IUITableViewDataSource * UIKit.UITableView * Foundation.NSIndexPath -&gt; bool" Usage="UIKit.UITableViewDataSource_Extensions.CanMoveRow (This, tableView, indexPath)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="This" Type="UIKit.IUITableViewDataSource" RefType="this" />
<Parameter Name="tableView" Type="UIKit.UITableView" />
<Parameter Name="indexPath" Type="Foundation.NSIndexPath" />
</Parameters>
<Docs>
<param name="This">The instance on which this extension method operates.</param>
<param name="tableView">Table view containing the row.</param>
<param name="indexPath">Location of the row.</param>
<summary>Whether the row located at can be moved to another location in the table view.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CommitEditingStyle">
<MemberSignature Language="C#" Value="public static void CommitEditingStyle (this UIKit.IUITableViewDataSource This, UIKit.UITableView tableView, UIKit.UITableViewCellEditingStyle editingStyle, Foundation.NSIndexPath indexPath);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void CommitEditingStyle(class UIKit.IUITableViewDataSource This, class UIKit.UITableView tableView, valuetype UIKit.UITableViewCellEditingStyle editingStyle, class Foundation.NSIndexPath indexPath) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewDataSource_Extensions.CommitEditingStyle(UIKit.IUITableViewDataSource,UIKit.UITableView,UIKit.UITableViewCellEditingStyle,Foundation.NSIndexPath)" />
<MemberSignature Language="F#" Value="static member CommitEditingStyle : UIKit.IUITableViewDataSource * UIKit.UITableView * UIKit.UITableViewCellEditingStyle * Foundation.NSIndexPath -&gt; unit" Usage="UIKit.UITableViewDataSource_Extensions.CommitEditingStyle (This, tableView, editingStyle, indexPath)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="This" Type="UIKit.IUITableViewDataSource" RefType="this" />
<Parameter Name="tableView" Type="UIKit.UITableView" />
<Parameter Name="editingStyle" Type="UIKit.UITableViewCellEditingStyle" />
<Parameter Name="indexPath" Type="Foundation.NSIndexPath" />
</Parameters>
<Docs>
<param name="This">The instance on which this extension method operates.</param>
<param name="tableView">Table view requesting insertion or deletion.</param>
<param name="editingStyle">Cell editing style requested for the row at <paramref name="indexPath" />, such as <see cref="F:UIKit.UITableViewCellEditingStyle.Insert" /> or <see cref="F:UIKit.UITableViewCellEditingStyle.Delete" />.</param>
<param name="indexPath">Location of the row.</param>
<summary>Commits the insertion or deletion of the specified row.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MoveRow">
<MemberSignature Language="C#" Value="public static void MoveRow (this UIKit.IUITableViewDataSource This, UIKit.UITableView tableView, Foundation.NSIndexPath sourceIndexPath, Foundation.NSIndexPath destinationIndexPath);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void MoveRow(class UIKit.IUITableViewDataSource This, class UIKit.UITableView tableView, class Foundation.NSIndexPath sourceIndexPath, class Foundation.NSIndexPath destinationIndexPath) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewDataSource_Extensions.MoveRow(UIKit.IUITableViewDataSource,UIKit.UITableView,Foundation.NSIndexPath,Foundation.NSIndexPath)" />
<MemberSignature Language="F#" Value="static member MoveRow : UIKit.IUITableViewDataSource * UIKit.UITableView * Foundation.NSIndexPath * Foundation.NSIndexPath -&gt; unit" Usage="UIKit.UITableViewDataSource_Extensions.MoveRow (This, tableView, sourceIndexPath, destinationIndexPath)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="This" Type="UIKit.IUITableViewDataSource" RefType="this" />
<Parameter Name="tableView" Type="UIKit.UITableView" />
<Parameter Name="sourceIndexPath" Type="Foundation.NSIndexPath" />
<Parameter Name="destinationIndexPath" Type="Foundation.NSIndexPath" />
</Parameters>
<Docs>
<param name="This">The instance on which this extension method operates.</param>
<param name="tableView">Table view containing the row being moved.</param>
<param name="sourceIndexPath">Location of the row to be moved.</param>
<param name="destinationIndexPath">New location of the row.</param>
<summary>Called when a row has been moved so that the data source can 'implement' the changed row position that has been performed in the user interface. This ensures the data is kept in-sync with what is being displayed.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="NumberOfSections">
<MemberSignature Language="C#" Value="public static nint NumberOfSections (this UIKit.IUITableViewDataSource This, UIKit.UITableView tableView);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.nint NumberOfSections(class UIKit.IUITableViewDataSource This, class UIKit.UITableView tableView) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewDataSource_Extensions.NumberOfSections(UIKit.IUITableViewDataSource,UIKit.UITableView)" />
<MemberSignature Language="F#" Value="static member NumberOfSections : UIKit.IUITableViewDataSource * UIKit.UITableView -&gt; nint" Usage="UIKit.UITableViewDataSource_Extensions.NumberOfSections (This, tableView)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nint</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="This" Type="UIKit.IUITableViewDataSource" RefType="this" />
<Parameter Name="tableView" Type="UIKit.UITableView" />
</Parameters>
<Docs>
<param name="This">The instance on which this extension method operates.</param>
<param name="tableView">Table view displaying the sections.</param>
<summary>Returns the number of sections that are required to display the data.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SectionFor">
<MemberSignature Language="C#" Value="public static nint SectionFor (this UIKit.IUITableViewDataSource This, UIKit.UITableView tableView, string title, nint atIndex);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.nint SectionFor(class UIKit.IUITableViewDataSource This, class UIKit.UITableView tableView, string title, valuetype System.nint atIndex) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewDataSource_Extensions.SectionFor(UIKit.IUITableViewDataSource,UIKit.UITableView,System.String,System.nint)" />
<MemberSignature Language="F#" Value="static member SectionFor : UIKit.IUITableViewDataSource * UIKit.UITableView * string * nint -&gt; nint" Usage="UIKit.UITableViewDataSource_Extensions.SectionFor (This, tableView, title, atIndex)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nint</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="This" Type="UIKit.IUITableViewDataSource" RefType="this" />
<Parameter Name="tableView" Type="UIKit.UITableView" />
<Parameter Name="title" Type="System.String" />
<Parameter Name="atIndex" Type="System.nint" />
</Parameters>
<Docs>
<param name="This">The instance on which this extension method operates.</param>
<param name="tableView">Table view containing the section.</param>
<param name="title">The title that's displayed in the table view's index.</param>
<param name="atIndex">The index of the title in the array returned from the <see cref="M:UIKit.UITableViewSource.SectionIndexTitles(UIKit.UITableView)" />.</param>
<summary>Returns the index of the section with the given and .</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SectionIndexTitles">
<MemberSignature Language="C#" Value="public static string[] SectionIndexTitles (this UIKit.IUITableViewDataSource This, UIKit.UITableView tableView);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string[] SectionIndexTitles(class UIKit.IUITableViewDataSource This, class UIKit.UITableView tableView) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewDataSource_Extensions.SectionIndexTitles(UIKit.IUITableViewDataSource,UIKit.UITableView)" />
<MemberSignature Language="F#" Value="static member SectionIndexTitles : UIKit.IUITableViewDataSource * UIKit.UITableView -&gt; string[]" Usage="UIKit.UITableViewDataSource_Extensions.SectionIndexTitles (This, tableView)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="This" Type="UIKit.IUITableViewDataSource" RefType="this" />
<Parameter Name="tableView" Type="UIKit.UITableView" />
</Parameters>
<Docs>
<param name="This">The instance on which this extension method operates.</param>
<param name="tableView">Table view that is displaying the index.</param>
<summary>Returns an array of titles to be displayed as an index on the table view.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TitleForFooter">
<MemberSignature Language="C#" Value="public static string TitleForFooter (this UIKit.IUITableViewDataSource This, UIKit.UITableView tableView, nint section);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string TitleForFooter(class UIKit.IUITableViewDataSource This, class UIKit.UITableView tableView, valuetype System.nint section) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewDataSource_Extensions.TitleForFooter(UIKit.IUITableViewDataSource,UIKit.UITableView,System.nint)" />
<MemberSignature Language="F#" Value="static member TitleForFooter : UIKit.IUITableViewDataSource * UIKit.UITableView * nint -&gt; string" Usage="UIKit.UITableViewDataSource_Extensions.TitleForFooter (This, tableView, section)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="This" Type="UIKit.IUITableViewDataSource" RefType="this" />
<Parameter Name="tableView" Type="UIKit.UITableView" />
<Parameter Name="section" Type="System.nint" />
</Parameters>
<Docs>
<param name="This">The instance on which this extension method operates.</param>
<param name="tableView">Table view containing the section.</param>
<param name="section">Index of the section displaying the footer.</param>
<summary>Called to populate the footer for the specified section.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TitleForHeader">
<MemberSignature Language="C#" Value="public static string TitleForHeader (this UIKit.IUITableViewDataSource This, UIKit.UITableView tableView, nint section);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string TitleForHeader(class UIKit.IUITableViewDataSource This, class UIKit.UITableView tableView, valuetype System.nint section) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewDataSource_Extensions.TitleForHeader(UIKit.IUITableViewDataSource,UIKit.UITableView,System.nint)" />
<MemberSignature Language="F#" Value="static member TitleForHeader : UIKit.IUITableViewDataSource * UIKit.UITableView * nint -&gt; string" Usage="UIKit.UITableViewDataSource_Extensions.TitleForHeader (This, tableView, section)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="This" Type="UIKit.IUITableViewDataSource" RefType="this" />
<Parameter Name="tableView" Type="UIKit.UITableView" />
<Parameter Name="section" Type="System.nint" />
</Parameters>
<Docs>
<param name="This">The instance on which this extension method operates.</param>
<param name="tableView">Table view containing the section.</param>
<param name="section">Index of the section displaying the header.</param>
<summary>Called to populate the header for the specified section.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.