Hi!
What is the correspondence of the RadGridView and the RadTreeView??
Not the SelectedItem, but the CurrentItem, BECAUSE:
There is no "SelectionChanging", so I'm forced to code myself the revert to the previous element if my conditions aren't satisfied.
Then I was doing something like:
The object seems to be "selected", but doesn't change:
image of the selected item problem
File2 is the File on which I've made a "MainTree.SelectedItem= e.RemovedItems[0]"
The File1 is the e.AddedItem[0].
Without the SelectedItem manipulation, I don't see the dashed border on it.
Thank you.
What is the correspondence of the RadGridView and the RadTreeView??
Not the SelectedItem, but the CurrentItem, BECAUSE:
There is no "SelectionChanging", so I'm forced to code myself the revert to the previous element if my conditions aren't satisfied.
Then I was doing something like:
private void uxRadTreeView_SelectionChanged(object sender, SelectionChangedEventArgs e){ if (!isReverting && MyConditionsHere){ isReverting = true; MainTree.SelectedItem =e.RemovedItems[0]; } if(isReverting) isReverting = false;}The object seems to be "selected", but doesn't change:
image of the selected item problem
File2 is the File on which I've made a "MainTree.SelectedItem= e.RemovedItems[0]"
The File1 is the e.AddedItem[0].
Without the SelectedItem manipulation, I don't see the dashed border on it.
Thank you.