private void BackgroundColorPicker_ColorChanged(object sender, EventArgs e)
        {
            if (View.Instance.ApplicationColorSet == null)
            {
                return;
            }

            if (BackgroundColorPicker.BackgroundStart != null)
            {
                ThemeColorHelper.ApplyColorProperty(View.Instance.ApplicationColorSet, BackgroundColorPicker.BackgroundStart.Color, ThemeColorProperty.BackgroundStartGradientColor);
            }

            if (BackgroundColorPicker.BackgroundEnd != null)
            {
                ThemeColorHelper.ApplyColorProperty(View.Instance.ApplicationColorSet, BackgroundColorPicker.BackgroundEnd.Color, ThemeColorProperty.BackgroundEndGradientColor);
            }
        }
        void ColorPalette_ColorPicked(object sender, ColorChosenEventArgs e)
        {
            ListBoxItem selectedItem = ColorOptionComboBox.SelectedItem as ListBoxItem;

            if (selectedItem == null)
            {
                return;
            }
            string colorOption = selectedItem.Tag as string;

            if (string.IsNullOrEmpty(colorOption))
            {
                return;
            }

            ThemeColorProperty property = (ThemeColorProperty)Enum.Parse(typeof(ThemeColorProperty), colorOption, true);

            ThemeColorHelper.ApplyColorProperty(View.Instance.ApplicationColorSet, e.Color, property);
        }