|
159 | 159 | <TreeView.ItemTemplate>
|
160 | 160 | <HierarchicalDataTemplate>
|
161 | 161 | <Grid>
|
162 |
| - <TextBlock Grid.Column="0" Text="{Binding Path=ModuleName}"/> |
163 |
| - <TextBlock Grid.Column="1" Text="{Binding Path=Result.Lines}" /> |
164 |
| - <TextBlock Grid.Column="2" Text="{Binding Path=Result.CyclomaticComplexity}" /> |
165 |
| - <TextBlock Grid.Column="3" Text="{Binding Path=Result.MaximumNesting}" /> |
| 162 | + <TextBlock Grid.Column="0" Grid.Row="0" Text="{Binding Path=ModuleName}"/> |
| 163 | + <TextBlock Grid.Column="1" Grid.Row="0" Text="{Binding Path=Result.Lines}" /> |
| 164 | + <TextBlock Grid.Column="2" Grid.Row="0" Text="{Binding Path=Result.CyclomaticComplexity}" /> |
| 165 | + <TextBlock Grid.Column="3" Grid.Row="0" Text="{Binding Path=Result.MaximumNesting}" /> |
| 166 | + |
| 167 | + <ListView Grid.ColumnSpan="4" Grid.Row="1" ItemsSource="{Binding Path=MemberResults}"> |
| 168 | + <ListView.ItemTemplate> |
| 169 | + <DataTemplate> |
| 170 | + <Grid> |
| 171 | + <TextBlock Grid.Column="0" Text="{Binding Path=Key}"/> |
| 172 | + <TextBlock Grid.Column="1" Text="{Binding Path=Value.Lines}" /> |
| 173 | + <TextBlock Grid.Column="2" Text="{Binding Path=Value.CyclomaticComplexity}" /> |
| 174 | + <TextBlock Grid.Column="3" Text="{Binding Path=Value.MaximumNesting}" /> |
| 175 | + </Grid> |
| 176 | + </DataTemplate> |
| 177 | + </ListView.ItemTemplate> |
| 178 | + </ListView> |
166 | 179 | </Grid>
|
167 |
| - <HierarchicalDataTemplate.ItemTemplate ItemsSource="{Binding MemberResults}"> |
168 |
| - <DataTemplate> |
169 |
| - <Grid> |
170 |
| - <TextBlock Grid.Column="0" Text="{Binding Path=Key}"/> |
171 |
| - <TextBlock Grid.Column="1" Text="{Binding Path=Value.Lines}" /> |
172 |
| - <TextBlock Grid.Column="2" Text="{Binding Path=Value.CyclomaticComplexity}" /> |
173 |
| - <TextBlock Grid.Column="3" Text="{Binding Path=Value.MaximumNesting}" /> |
174 |
| - </Grid> |
175 |
| - </DataTemplate> |
176 |
| - </HierarchicalDataTemplate.ItemTemplate> |
177 | 180 | </HierarchicalDataTemplate>
|
178 | 181 | </TreeView.ItemTemplate>
|
179 | 182 | </TreeView>
|
180 | 183 | <controls:BusyIndicator Grid.Row="2" Width="120" Height="120" Visibility="{Binding IsBusy, Converter={StaticResource BoolToVisibility}}" />
|
181 | 184 | </Grid>
|
182 | 185 | </UserControl>
|
| 186 | + |
0 commit comments