static ComboItemComboBox()
 {
     SelectedItemProperty.AddOwner(typeof(ComboItemComboBox),
                                   new FrameworkPropertyMetadata(null, OnCoerceSelectedItem));
     ItemsSourceProperty.AddOwner(typeof(ComboItemComboBox),
                                  new FrameworkPropertyMetadata(OnItemsSourceChanged));
 }
Пример #2
0
 static PersistentComboBox()
 {
     ItemsSourceProperty.AddOwner(typeof(PersistentComboBox), new FrameworkPropertyMetadata(null, OnItemsSourceChanged, BeforeItemsSourceChanged));
 }