or
<DataTemplate x:Key="customItemTemplate"> <Border Background="LightSlateGray" Padding="10"> <Grid> <StackPanel> <TextBlock Text="{Binding TaskID}" TextWrapping="Wrap" Foreground="White" FontSize="11" TextAlignment="Center" Margin="0,0,3,0"/> </StackPanel> </Grid> </Border> </DataTemplate><telerik:RadCarousel x:Name="sampleRadCarousel" ItemsSource="{Binding Task}" AutoGenerateDataPresenters="False" Background="Transparent" ItemTemplate="{StaticResource customItemTemplate}" /> <telerik:GridViewDataColumn x:Name="sourceColumn" IsReadOnly="True" Header="Source"> <telerik:GridViewDataColumn.CellTemplate> <DataTemplate> <TextBlock Text="{Binding RouteSource, Converter={StaticResource RouteSourceConverter}}" /> </DataTemplate> </telerik:GridViewDataColumn.CellTemplate></telerik:GridViewDataColumn><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,