I managed to display layer information in the intended layout using LayerTemplate and LegendItemTemplate.
But, there is a small problem.
How do it disable selection and collapse of LayerTemplate and LegendTemplate in Legend using wpf tag?
Thanks for any suggestion.