Hi,
I have a grid defined like this:
<Controls:RadGridView ItemsSource="{Binding Path=DishTypes}" ShowGroupPanel="False" CanUserDeleteRows="False" CanUserInsertRows="False" CanUserFreezeColumns="False" |
AutoGenerateColumns="False" RowDetailsVisibilityMode="Visible" IsReadOnly="True" ShowColumnHeaders="False" |
RowIndicatorVisibility="Collapsed" GridLinesVisibility="Horizontal"> |
<Controls:RadGridView.ChildTableDefinitions> |
<Controls:GridViewTableDefinition /> |
</Controls:RadGridView.ChildTableDefinitions> |
<Controls:RadGridView.Columns> |
<Controls:GridViewComboBoxColumn DataMemberBinding="{Binding Path=Id}" |
DisplayMemberPath="Name" |
SelectedValueMemberPath="Id" |
ItemsSource="{Binding Source={StaticResource dishTypeData}}" /> |
</Controls:RadGridView.Columns> |
<Controls:RadGridView.HierarchyChildTemplate> |
<DataTemplate> |
<Controls:RadGridView ItemsSource="{Binding Path=MenuItems}" ShowGroupPanel="False" CanUserDeleteRows="False" CanUserInsertRows="False" CanUserFreezeColumns="False" |
AutoGenerateColumns="False" RowDetailsVisibilityMode="Visible" IsReadOnly="False" ShowColumnHeaders="False" |
RowIndicatorVisibility="Collapsed" GridLinesVisibility="Horizontal"> |
<Controls:RadGridView.Columns> |
<Controls:GridViewComboBoxColumn DataMemberBinding="{Binding Path=FoodId}" |
ItemsSource="{Binding Source={StaticResource foodData}}" |
DisplayMemberPath="Name" |
SelectedValueMemberPath="Id" /> |
<Controls:GridViewDataColumn DataMemberBinding="{Binding Path=PortionSize}" /> |
</Controls:RadGridView.Columns> |
</Controls:RadGridView> |
</DataTemplate> |
</Controls:RadGridView.HierarchyChildTemplate> |
</Controls:RadGridView> |
What is the property to make all the tree children expanded (similar to clicking the + sign on all) ?
Thank you,
Calin