ios-samples/WorkingWithTables/README.md

36 строки
2.3 KiB
Markdown

---
name: Xamarin.iOS - Working With Tables
description: "Collection of small samples shows how to use UITableView to build lists in Xamarin.iOS"
page_type: sample
languages:
- csharp
products:
- xamarin
urlFragment: workingwithtables
---
# Working With Tables
This collection of small samples shows how to use tables in Xamarin.iOS. The directory structure reflects the collection of article in the developer centre on [Working with Tables and Cells](https://docs.microsoft.com/xamarin/ios/user-interface/controls/tables/).
## [Part 2 - Populating a Table with Data](https://docs.microsoft.com/xamarin/ios/user-interface/controls/tables/populating-a-table-with-data)
* [BasicTable](https://docs.microsoft.com/xamarin/ios/user-interface/controls/tables/populating-a-table-with-data#Subclassing_UITableViewSource)
* [BasicTableHeaderFooter](https://docs.microsoft.com/xamarin/ios/user-interface/controls/tables/populating-a-table-with-data#Adding_Headers_and_Footers)
* [BasicTableIndex](https://docs.microsoft.com/xamarin/ios/user-interface/controls/tables/populating-a-table-with-data#Adding_an_Index)
## [Part 3 - Customizing a Table's Appearance](https://docs.microsoft.com/xamarin/ios/user-interface/controls/tables/customizing-table-appearance)
* [CellDefaultTable](https://docs.microsoft.com/xamarin/ios/user-interface/controls/tables/customizing-table-appearance)
* [CellAccessory](https://docs.microsoft.com/xamarin/ios/user-interface/controls/tables/customizing-table-appearance#accessories)
* [CellCustomTable](https://docs.microsoft.com/en-us/xamarin/ios/user-interface/controls/tables/customizing-table-appearance#creating-custom-cell-layouts)
## [Part 4 - Editing](https://docs.microsoft.com/xamarin/ios/user-interface/controls/tables/editing)
* [TableEditMode](https://docs.microsoft.com/xamarin/ios/user-interface/controls/tables/editing#edit-mode)
* [TableEditModeAdd](https://docs.microsoft.com/en-us/xamarin/ios/user-interface/controls/tables/editing#row-insertion-editing-style)
Also related to these samples are:
* [StoryboardTable](https://docs.microsoft.com/samples/xamarin/ios-samples/storyboardtable/), which describes how to access a table created in a storyboard, via code.
* [TableEditing](https://docs.microsoft.com/samples/xamarin/ios-samples/tableediting/), which shows how to implement swipe to delete in a cell.