|
202 | 202 | SelectionUnit="FullRow"
|
203 | 203 | ItemsSource="{Binding Results, NotifyOnSourceUpdated=True}"
|
204 | 204 | VirtualizingPanel.IsVirtualizingWhenGrouping="True"
|
205 |
| - RequestBringIntoView="InspectionResultsGrid_RequestBringIntoView"> |
| 205 | + ScrollViewer.CanContentScroll="True" |
| 206 | + ScrollViewer.VerticalScrollBarVisibility="Auto" |
| 207 | + ScrollViewer.HorizontalScrollBarVisibility="Auto"> |
206 | 208 | <DataGrid.RowDetailsTemplate>
|
207 | 209 | <DataTemplate>
|
208 | 210 | <Grid>
|
|
243 | 245 | <controls:GroupItemExpandedBehavior ExpandedState="{Binding ExpandedState, Mode=TwoWay}" />
|
244 | 246 | </i:Interaction.Behaviors>
|
245 | 247 | </controls:GroupingGrid>
|
246 |
| - <DataGrid.RowDetailsTemplate> |
247 |
| - <DataTemplate> |
248 |
| - <Grid> |
249 |
| - <Rectangle Fill="Transparent" /> |
250 |
| - <GridViewRowPresenter/> |
251 |
| - </Grid> |
252 |
| - </DataTemplate> |
253 |
| - </DataGrid.RowDetailsTemplate> |
254 |
| - <DataGrid.Columns> |
255 |
| - <DataGridTemplateColumn Header="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=CodeInspectionResults_Type}"> |
256 |
| - <DataGridTemplateColumn.CellTemplate> |
257 |
| - <DataTemplate DataType="abstract1:IInspectionResult"> |
258 |
| - <Image Source="{Binding Inspection, Converter={StaticResource InspectionIconConverter}, Mode=OneTime}" Width="16" Height="16" /> |
259 |
| - </DataTemplate> |
260 |
| - </DataGridTemplateColumn.CellTemplate> |
261 |
| - </DataGridTemplateColumn> |
262 |
| - <DataGridTextColumn Header="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=CodeInspectionResults_Issue}" Binding="{Binding Description, Mode=OneTime}" /> |
263 |
| - <DataGridTextColumn Header="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=CodeInspectionResults_Location}" Binding="{Binding QualifiedSelection.QualifiedName, Mode=OneTime}" /> |
264 |
| - </DataGrid.Columns> |
265 |
| - <DataGrid.ContextMenu> |
266 |
| - <ContextMenu ItemsSource="{Binding PlacementTarget.DataContext.QuickFixes, RelativeSource={RelativeSource Self}}"> |
267 |
| - <ContextMenu.Resources> |
268 |
| - <Style TargetType="{x:Type MenuItem}"> |
269 |
| - <Setter Property="Icon"> |
270 |
| - <Setter.Value> |
271 |
| - <Image Source="{Binding Fix, Converter={StaticResource QuickFixIconConverter}}" /> |
272 |
| - </Setter.Value> |
273 |
| - </Setter> |
274 |
| - <Setter Property="Command" Value="{Binding Command}" /> |
275 |
| - <Setter Property="CommandParameter" Value="{Binding Fix}" /> |
276 |
| - <Setter Property="Header" Value="{Binding Description}" /> |
277 |
| - <Setter Property="Background" Value="Transparent"></Setter> |
278 |
| - </Style> |
279 |
| - </ContextMenu.Resources> |
280 |
| - </ContextMenu> |
281 |
| - </DataGrid.ContextMenu> |
282 |
| - <i:Interaction.Behaviors> |
283 |
| - <controls:GroupItemExpandedBehavior ExpandedState="{Binding ExpandedState, Mode=TwoWay}" /> |
284 |
| - </i:Interaction.Behaviors> |
285 |
| - </controls:GroupingGrid> |
286 | 248 |
|
287 | 249 | <controls:EmptyUIRefresh Grid.Row="1" Visibility="{Binding Unparsed, Converter={StaticResource BoolToVisibility}}" />
|
288 | 250 | <controls:BusyIndicator Grid.Row="1" Width="120" Height="120" Visibility="{Binding IsBusy, Converter={StaticResource BoolToVisibility}}" />
|
|
0 commit comments