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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeViewItemAdv Control Template

Thread ID:





75231 Jul 17,2008 02:18 AM UTC Jul 17,2008 12:56 PM UTC WPF 1
Tags: Tools
Fred Yip
Asked On July 17, 2008 02:18 AM UTC


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.


Balavasanth [Syncfusion]
Replied On 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.

Bala Vasanth.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon