iOSTable.RowEditingStyle

From Xojo Documentation

Event


iOSTable.RowEditingStyle(section As Integer, row As Integer) As RowEditingStyles

Supported on Mobile (iOS).

Allows the table to indicate what the editing style should be for a row.

Parameters

Parameter Description
section The section containing the row.
row The row for which you will specify the editing style.

Notes

This is invoked if all of the following are met:

  • The table is being edited (IsEditing = True).
  • The table is using a custom data source with iOSTableDataSource.
  • The custom data source implements iOSTableDataSourceEditing interface.
  • The custom data source returns True from RowIsEditable for the section and row.

If this event is not implemented the default value is RowEditingStyles.Delete.