void OnButtonPressed(object sender, CellUtilityButtonClickedEventArgs e) { if (e.UtilityButtonIndex == 1) { new UIAlertView("Pressed", "You pressed the edit button!", null, null, new[] { "OK" }).Show(); } else if (e.UtilityButtonIndex == 0) { new UIAlertView("Pressed", "You pressed the more button!", null, null, new[] { "OK" }).Show(); } }
void OnButtonPressed(object sender, CellUtilityButtonClickedEventArgs e) { if (e.UtilityButtonIndex == 1) { new UIAlertView("Pressed", "You pressed the edit button!", null, null, new[] {"OK"}).Show(); } else if(e.UtilityButtonIndex == 0){ new UIAlertView("Pressed", "You pressed the more button!", null, null, new[] {"OK"}).Show(); } }