I have a combox box which is bind with dependencyproperty My itemsource is bind to arraylist of string and the selectedValue to a string
I want to modify the combobox context by code The first one is it OK but as i click in my comboxbox and after i want to change her contains it doesn' work
My xmal
<ComboBox Name="ComboCateg3" SelectionChanged="Filter_SelectionChanged" DockPanel.Dock="top"
Height="26" VerticalAlignment="top" HorizontalAlignment="Stretch" SelectedValue="{Binding
Path=Categ3Filter}" ItemsSource="{Binding Path=Categ3Values,Mode=OneWay}" Margin="3,0" />
my declaration property in MVVM
public static readonly DependencyProperty Categ3FilterProperty = DependencyProperty.Register
("Categ3Filter", typeof(string), typeof(ControlerEvtConsult), new UIPropertyMetadata
(Dcns.SmsType.Shipmaster.Plugins.StorageUnitPlugin.Properties.Resources.RES_LIB_ALL));
public static readonly DependencyProperty Categ3ValuesProperty = DependencyProperty.Register
("CategValues3", typeof(ArrayList), typeof(ControlerEvtConsult), new UIPropertyMetadata(null));
Could you please help ?