public InfoView(ScenarioInfo scenario) : this()
        {
            var model = new SwitchScenarioModel(scenario);

            BindingContext = model;

            itemView.Click += (o, e) => {
                var parent = Helper.GetLastParent(this);
                InfoViewSwitch.Show(model, parent);
            };
        }
        public static void Show(SwitchScenarioModel model, Grid parent)
        {
            var @switch = new InfoViewSwitch(model);
            var dialog  = new DialogView(@switch);

            @switch.ApplyClicked += (o, e) =>
            {
                dialog.Close();
                model.ScenarioValue = e.Value;
            };
            dialog.Show(parent);
        }