public static CoreFlexibleTableSource WhenDeletingFlexibleRow(this CoreFlexibleTableSource source, Func <NSIndexPath, bool> canDelete, Action <NSIndexPath> performDelete, Func <NSIndexPath, string> deleteText = null)
 {
     source.CanDeleteRowMethod  = canDelete;
     source.RowDeleteMethod     = performDelete;
     source.RowDeleteTextMethod = deleteText;
     return(source);
 }
 public static CoreFlexibleTableSource WhenEditingFlexibleRow(this CoreFlexibleTableSource source, Func <NSIndexPath, UITableViewRowAction[]> customActionsMethod)
 {
     source.CustomRowActionsMethod = customActionsMethod;
     return(source);
 }
 public static CoreFlexibleTableSource WhenSizingFlexibleHeaders(this CoreFlexibleTableSource source, Func <nint, nfloat> headerSizeMethod)
 {
     source.HeaderSizeMethod = headerSizeMethod;
     return(source);
 }
 public static CoreFlexibleTableSource WhenSizingFlexibleRows(this CoreFlexibleTableSource source, Func <NSIndexPath, nfloat> rowSizeMethod)
 {
     source.RowSizeMethodRaw = rowSizeMethod;
     return(source);
 }
 public static CoreFlexibleTableSource WhenFlexibleItemSelected(this CoreFlexibleTableSource source, Action <NSIndexPath, UITableViewCell> selectedMethod)
 {
     source.OnSelectedMethodRaw = selectedMethod;
     return(source);
 }
 public static CoreFlexibleTableSource WhenCreatingFlexibleCell(this CoreFlexibleTableSource source, Func <NSIndexPath, UITableViewCell> createCellMethod)
 {
     source.CreateCellRawMethod = createCellMethod;
     return(source);
 }
 public static CoreFlexibleTableSource WhenCountingFlexibleRows(this CoreFlexibleTableSource source, Func <nint, nint> countRowsMethod)
 {
     source.CountRowsInSectionMethod = countRowsMethod;
     return(source);
 }
 public static CoreFlexibleTableSource WhenCreatingFlexibleHeader(this CoreFlexibleTableSource source, Func <CoreTableSource <object>, nint, UIView> createHeaderMethod)
 {
     source.CreateHeaderMethod = createHeaderMethod;
     return(source);
 }