Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CommandViewModel item = CurrentItemSource?.FirstOrDefault();
- CurrentItemSource = new ObservableCollection<CommandViewModel>();
- if (Application.Current != null)
- {
- Application.Current.Dispatcher.BeginInvoke(new Action(() =>
- {
- CurrentItemSource.EnableCollectionSynchronization();
- }));
- }
- <ComboBox ItemsSource="{Binding CurrentItemSource}"/>
Add Comment
Please, Sign In to add comment