[ImportingConstructor]
public BannerDetailViewModel(IEventAggregator events, BannerDetail bannerDetail, CategoryList categories) {
this.categories = categories;
NotifyOfPropertyChange(() => Categories);
Model = bannerDetail;
NotifyOfPropertyChange(() => Model);
this.DisplayName = "Banner";
}
<
telerik:RadComboBox Name="CategoryCombo" Grid.Row="3" Grid.Column="1" SelectedItem="{Binding Model.Category, Mode=TwoWay, NotifyOnValidationError=True, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" ItemsSource="{Binding Path=Categories}" DisplayMemberPath="Name" ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent=" " VerticalAlignment="Center" HorizontalAlignment="Left"/>
<ComboBox Name="testCombo" SelectedItem="{Binding Model.Category, Mode=TwoWay, NotifyOnValidationError=True, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" ItemsSource="{Binding Path=Categories}" DisplayMemberPath="Name" />