private void HandleColorSelectorButtonTap(object sender, EventArgs e) { InfColorPickerController colorPicker = InfColorPickerController.ColorPickerViewController(); colorPicker.Delegate = new ColorSelectedDelegate(this); colorPicker.PresentModallyOverViewController(this); }
private void HandleTouchUpInsideWithStrongDelegate(object sender, EventArgs e) { InfColorPickerController picker = InfColorPickerController.ColorPickerViewController(); picker.Delegate = _selector; picker.PresentModallyOverViewController(this); }
private void HandleTouchUpInsideWithWeakDelegate(object sender, EventArgs e) { InfColorPickerController picker = InfColorPickerController.ColorPickerViewController(); picker.WeakDelegate = this; picker.SourceColor = this.View.BackgroundColor; picker.PresentModallyOverViewController(this); }