The Xamarin TableView has an Intent property that allows me to define between
- Data
- Form
- Menu
- Settings
However it's not clear what the UX difference will be on each platform.
Is there any elaboration for this enumeration?
The Xamarin TableView has an Intent property that allows me to define between
However it's not clear what the UX difference will be on each platform.
Is there any elaboration for this enumeration?
Currently (9c48284d) the only platform specific renderer that uses that TableIntent enum is on iOS.
If you set the TableView to be "Data" orientated the section headers & footers do not float in the view.
Xamarin.Forms.Platform.iOS/Renderers/TableViewRenderer.cs
~~~
if (e.NewElement.Intent != TableIntent.Data)
style = UITableViewStyle.Grouped;
~~~
It's found at https://developer.xamarin.com/api/type/Xamarin.Forms.TableIntent/
Data A table intended to contain an arbitrary number of similar data entries.
Form A table which is used to contain information that would normally be contained in a form.
Menu A table intended to be used as a menu for selections.
Settings A table containing a set of switches, toggles, or other modifiable configuration settings.
As for specifically showing the difference between them on platforms visually, I think you'd just have to play around with them and see. Xamarin Forms Previewer does a great job at this without having to re-deploy your project to a simulator or device. (View - Other Windows - Xamarin Forms Previewer)