Hi ,
Do we have an option to select all item or deselect all items in xmawebcomboEditor?
How can we accomplish this if wew want this option inside the selected box?
Thanks
Hi,
you could achieve select/deselect all items this way:
foreach (var item in this.combo.Items) item.IsSelected = true; //false for deselect
HTH
I tried using this syntax when I select the "Select All" option in the combo List.
( i have added two checkboxez-Slect All and DeSelect All to the combo)
In selection Changed event-an error is thrown
"Cannot change observablecollection during a collectionchanged or Propertychanged event"....
How can i select all records when I select teh Select All checkbox inside the combo editor/
Also,When I have selected multiple values,How can i check or access the values.For a single item we could access it as
Model _model = ModelCombo.SelectedItem as Model;
With _model ,we could get a single selected item.How can ia ccess multiple items?
could you please provide some sample code from the SelectionChenged event handler for example so I can answer your first question.
About the second one - you could access selected elements through SelectedItems property of the xamComboEditor.
Regards,