We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

TreeViewItemAdv Control Template

Hi,

I tried to create a ControlTemplate for the TreeViewItemAdv ControlTemplate, so I can control the behaviours during certain property triggers.

However,I'm getting this below error at this line:



"Index 1 is out of range of the PathParameters list, which has length 0."

Please assist.





ResourceDictionary1_f90951d2.zip

1 Reply

BA Balavasanth Syncfusion Team July 17, 2008 12:56 PM UTC


Hi Fred,

Thanks for your detailed code snippet. Could you please describe more about following line in your template. What you are trying to achieve with Path=(0).(1) value in Binding.

ContentTemplate="{Binding Path=(0).(1), RelativeSource={RelativeSource FindAncestor, AncestorLevel=1, AncestorType={x:Type syncfusion:TreeViewItemAdv}

What is your exact requirements. So that we can give you a exact solution. If its possible please provide simple sample for your requirment. I hope it will be much helpful to us to proceed further.

Thanks for your interests in Syncfusion products.

Please let us know if you have any queries.

Thanks,
Bala Vasanth.


Loader.
Live Chat Icon For mobile
Up arrow icon