I'm binding to an object that has a list List<> property of a child object. Within my RadFluidContentControl.LargeContent I'm displaying information from the parent object, but cannot get the child object data to display. I'd like to display the child data in a ListBox.
Here's my ListBox code:
The property which contains the child items is called AnalysisFiles. I just need to know how to bind my objects child items. The ListBox is blank, so my xaml is not working.
Thanks!
Here's my ListBox code:
<
telerik:ListBox
Background
=
"WhiteSmoke"
Grid.Row
=
"12"
Grid.Column
=
"0"
ItemsSource
=
"{Binding}"
>
<
telerik:ListBox.ItemTemplate
>
<
telerik:HierarchicalDataTemplate
ItemsSource
=
"{Binding AnalysisFiles}"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
TextBlock
Text
=
"{Binding FileName}"
></
TextBlock
>
</
StackPanel
>
</
telerik:HierarchicalDataTemplate
>
</
telerik:ListBox.ItemTemplate
>
</
telerik:ListBox
>
The property which contains the child items is called AnalysisFiles. I just need to know how to bind my objects child items. The ListBox is blank, so my xaml is not working.
Thanks!