Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
210
highlight the whole item XamDataTree wpf
posted

Hello,

How can we highlight the whole selected item in XamDataTree ?

similar to the solution explorer tree in visual studio

Thanks in advanced

  • 35319
    posted

    Hello Hussein,

     

    I am just checking if you require any further assistance on the matter.

  • 35319
    posted

    Hi Hussein,

     

    Thank you for your post. I have been looking into your requirement and this functionality is not available built-in. You can achieve a similar behavior by re-templating the default template for the XamDataTreeNodeControl. You could find it in:

     

     C:\Program Files (x86)\Infragistics\2015.1\WPF\DefaultStyles\DataTree\generic.xaml

     

    I am attaching a sample application(DataTreeSelectedNode.zip) that shows a possible approach on how to achieve the desired functionality.

     

    Let me know, if you need any further assistance on this matter.

    DataTreeSelectedNode.zip