i have ComboBox
binding with my collection
and now i want to add another Item
before the binding: "Please select..."
So i try this:
combobox.Items.Add("Please select");
But because i have this dinging:
public ObservableCollection<MyData> collection { get; set; }
ItemsSource="{Binding collection}"
All i received is this error:
Items collection must be empty before using ItemsSource
So how can i solve it ?