I have placed a radlistbox in a dropdown button. I have SelectionMode = Single. I have an event handler for the selectionchanged to know which item they selected. In that handler I set the dropdown button to close, get the item and clear the selection. I do this so that the next time the user opens the menu there is not an item selected in the listbox. I have tried 3 different things but the highlight of the item does not go away. I have tried:
SelectedItems.Clear();
SelectedItem = null;
SelectedIndex = -1;
As previously stated, none of these clear the UI selection. The SelectedItem property is set to null, but all previously clicked on items are still highlighted in the UI.
Thanks in advance,
Lee
SelectedItems.Clear();
SelectedItem = null;
SelectedIndex = -1;
As previously stated, none of these clear the UI selection. The SelectedItem property is set to null, but all previously clicked on items are still highlighted in the UI.
Thanks in advance,
Lee