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
360
Collapse/Hide Child elements when Parent visibility is Collapse.
posted

Hi Team,

I am using XamDataTree to display hierarchical data in 4 levels.

I have a requirement where I should not be showing a particular data for a condition in level 2. This condition is based on one of a property in my TargetTypeName in level 2; if the condition is true I need to collapse (hide) the level and also the data in the child levels for that parent.

Is there a way to achieve this by coding in XAML. I do not want to add the property in all the child elements.

Thanks,

Srikanth V