How do I detect if no selected item on ComboBox is chosen?
ComboBox.SelectedItems.Count
this should work :P it counts selected items. if that number is 0, no items are selected.
if( ComboBox.SelectedItem == null ) {
// do something
}
ComboBox.SelectedItems.Count
this should work :P it counts selected items. if that number is 0, no items are selected.
if( ComboBox.SelectedItem == null ) {
// do something
}