void OnColorSourceTapped(object sender, EventArgs e)
        {
            if (!(sender is BindableObject bindable) || !(bindable.BindingContext is ColorSource selectedColorSource))
            {
                return;
            }

            if (SelectedColorSource == selectedColorSource)
            {
                return;
            }

            selectedColorSource.IsSelected = true;

            if (SelectedColorSource != null)
            {
                SelectedColorSource.IsSelected = false;
            }

            SelectedColorSource = selectedColorSource;
        }
 void Close()
 {
     SelectedColorSource = null;
     Dismiss();
 }
 void InvokeColorSelected(ColorSource color)
 {
     ColorSelected?.Invoke(this, color);
 }