private void Switch_OnToggled(object sender, ToggledEventArgs e) { var switchItem = (Switch)sender; TodoItem SelectedParent = (TodoItem)switchItem.BindingContext; }
private void SelectedItemCommandImplementation(TodoItem person) { Console.WriteLine(person.Notes); }
public int DeleteItem(TodoItem item) { return(database.Delete(item)); }