void Buttons_ButtonEvent(UIButtonCollection group, UIButtonCollectionEventArgs args) { if (args.EventType == UIButtonEventType.Released) { UIActionSheetButton responseButton = args.Button as UIActionSheetButton; action = responseButton.Action; this.Hide(); } }
public virtual void AddButton(UIActionSheetButton button) { this.Buttons.Add(button); }