In order to achieve your requirement you can implement an MVVM approach in your application. Furthermore, you will be able to define a HierarchicalDataTemplate
with a CheckBox
inside and bind its IsChecked
property to property defined in your ViewModel. Also, in order to disable it, you can set its IsEnabled
property to False
You can refer to this article
where we used similar HierarchicalDataTemplate
and custom check/uncheck logic. Please give this approach a try and let us know if you need any further assistance.
Pavel R. Pavlov
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>