Hi Kristjan ,
In order to access the initially checked item in tri state mode, a new EventArgs class was introduced with the Q2 SP1 release - RadTreeViewCheckEventArgs
which inherits RadRoutedEventArgs
and contains the boolean property IsUserInitiated
. This property indicates whether the item is the initially checked one.
Therefore, when handling the Checked()
event you can cast the e
parameter (of type RadRoutedEventArgs
) to RadTreeViewCheckEventArgs
and if the IsUserInitiated property is true, then the source of the event is the initially checked item.
I prepared a sample project illustrating how to implement this scenario and displaying the initially checked RadTreeViewItem's Header in a TextBox.
We will add this info in the CheckBox Support help article
as soon as possible. We'd appreciate any additional comments on the matter. I also updated your Telerik points.
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking
system and vote to affect the priority of the items