private void ColorBlendListBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (ColorBlendListBox != null) { _colorShadeIndex = ColorBlendListBox.SelectedIndex; ColorBlendChoicesPage.IsOpen = false; } }