static ComboItemComboBox()
 {
     SelectedItemProperty.AddOwner(typeof(ComboItemComboBox),
                                   new FrameworkPropertyMetadata(null, OnCoerceSelectedItem));
     ItemsSourceProperty.AddOwner(typeof(ComboItemComboBox),
                                  new FrameworkPropertyMetadata(OnItemsSourceChanged));
 }
Exemplo n.º 2
0
 static PersistentComboBox()
 {
     ItemsSourceProperty.AddOwner(typeof(PersistentComboBox), new FrameworkPropertyMetadata(null, OnItemsSourceChanged, BeforeItemsSourceChanged));
 }