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