Hi Gareth Repton,
From the information you sent us, it appears that your RadTreeView
has its IsInTriStateMode
set to true.
In this case, when you check a TreeVeiwItem,
the check sequence is as follows: children, parent/grandparents, the initially checked item ( the one you have checked first ). You can now use the RadTreeViewCheckEventArgs.IsUserInitiated
property . When it is true, the item you have checked first is about to be checked and you can perform your logic like so:
sender, Telerik.Windows.RadRoutedEventArgs e)
RadTreeViewItem current = e.OriginalSource
"Current check: "
isInitiallyChecked = (e
" last checked!"
The described approach is used in the attached project, so give it a try and let me know if it satisfies you. We would be glad to assist you further.
the Telerik team
Browse the videos here>>
to help you get started with RadControls for WPF