<ListView Height="Auto" HorizontalAlignment="Left" Margin="1149,0,0,0" Name="dataTree" VerticalAlignment="Stretch" Width="292"> <ListView.GroupStyle> <GroupStyle HidesIfEmpty="False"> <GroupStyle.ContainerStyle> <Style TargetType="GroupItem"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="GroupItem"> <Expander IsExpanded="True"> <Expander.Header> <Bold> <TextBlock Text="{Binding Name}"/> </Bold> </Expander.Header> <ItemsPresenter/> </Expander> </ControlTemplate> </Setter.Value> </Setter> </Style> </GroupStyle.ContainerStyle> </GroupStyle> </ListView.GroupStyle> <ListView.View> <GridView> <GridViewColumn Header="Parameter" Width="150" DisplayMemberBinding="{Binding Param}"/> <GridViewColumn Header="Value" Width="100" DisplayMemberBinding="{Binding (originally 'group.Param' but not sure how this part works)}" /> </GridView> </ListView.View> </ListView>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)