Sample.EditingDialog.EditingSource.CommitEditingStyle C# (CSharp) Method

CommitEditingStyle() public method

public CommitEditingStyle ( UITableView tableView, UITableViewCellEditingStyle editingStyle, NSIndexPath indexPath ) : void
tableView UITableView
editingStyle UITableViewCellEditingStyle
indexPath NSIndexPath
return void
			public override void CommitEditingStyle (UITableView tableView, UITableViewCellEditingStyle editingStyle, NSIndexPath indexPath)
			{
				//
				// In this method, we need to actually carry out the request
				//
				var section = Container.Root [indexPath.Section];
				var element = section [indexPath.Row];
				section.Remove (element);
			}
		}