I'm using an HierarchicalDataTemplate and the FullPath is always the type of the object in the itemssource collection. Is there a way to set it to a specific property of the bound items? My understanding is that it was supposed to be the displayed text.
<HierarchicalDataTemplate DataType="{x:Type local:Employee}" >
<TextBlock Text="{Binding Path=Name}"></TextBlock>
</HierarchicalDataTemplate>
My Employee object has a list of employees and everything is displayed correctly. However the FullPath of the SelectedContainer is always MyNamespace.Employee.I need the FullPath to be the Text of the node or need the ability to assign a property to be used by the FullPath for example, EmployeeId or something.
Thanks,