diff --git a/src/client/spark/AW2/View/VolSurfaceSettingsEditor.xaml b/src/client/spark/AW2/View/VolSurfaceSettingsEditor.xaml index d4c224d09..bc47b5b93 100644 --- a/src/client/spark/AW2/View/VolSurfaceSettingsEditor.xaml +++ b/src/client/spark/AW2/View/VolSurfaceSettingsEditor.xaml @@ -1,4 +1,4 @@ - - + TextBlock.Foreground="Black"> + + + + + + + + + + - + TextBlock.Foreground="Black"> + + + + + + + + + + diff --git a/src/client/spark/AW2/ViewModel/Grid/VolSurfaceSimplifiedGridVM.cs b/src/client/spark/AW2/ViewModel/Grid/VolSurfaceSimplifiedGridVM.cs index 871527959..e12e28b0b 100644 --- a/src/client/spark/AW2/ViewModel/Grid/VolSurfaceSimplifiedGridVM.cs +++ b/src/client/spark/AW2/ViewModel/Grid/VolSurfaceSimplifiedGridVM.cs @@ -152,15 +152,13 @@ namespace mbts.spark.VolSurface { })); VolSurfaceSimplifiedColumn create_exp_column_view() { - var filter = new MultiSelectDropDown() { HeaderText = "Expirations" }; + var filter = new ComboCheckBox() { HeaderContent = "Expirations" }; filter.Foreground = Brushes.Black; - filter.SetBinding(MultiSelectDropDown.ItemsSourceProperty, new Binding() { - Path = new PropertyPath("rows"), + filter.SetBinding(ItemsControl.ItemsSourceProperty, new Binding(nameof(rows)) { Source = this, Mode = BindingMode.OneWay }); - filter.SetBinding(MultiSelectDropDown.SelectedItemsProperty, new Binding() { - Path = new PropertyPath("visible_rows"), + filter.SetBinding(ComboCheckBox.SelectedItemsProperty, new Binding(nameof(visible_rows)) { Source = this, Mode = BindingMode.OneWay });