|
21 | 21 | </ResourceDictionary.MergedDictionaries> |
22 | 22 |
|
23 | 23 | <CollectionViewSource x:Key="BuiltInTemplatesViewSource" x:Name="BuiltInTemplatesView" Source="{Binding BuiltInTemplates}" /> |
24 | | - <CollectionViewSource x:Key="UserDefinedTemplatesViewSource" x:Name="BuiltInTemplatesView" Source="{Binding UserDefinedTemplates}" /> |
| 24 | + <CollectionViewSource x:Key="UserDefinedTemplatesViewSource" x:Name="UserDefinedTemplatesView" Source="{Binding UserDefinedTemplates}" /> |
25 | 25 | <CollectionViewSource x:Key="AnnotationsViewSource" x:Name="AnnotationsView" Source="{Binding Annotations}" /> |
26 | 26 |
|
27 | 27 | <BitmapImage x:Key="RefreshImage" UriSource="pack://application:,,,/Rubberduck.Resources;component/Icons/Fugue/arrow-circle-double.png" /> |
|
47 | 47 | <BitmapImage x:Key="SyncImage" UriSource="pack://application:,,,/Rubberduck.Resources;component/Icons/Custom/PNG/SyncArrows.png" /> |
48 | 48 | <BitmapImage x:Key="FontSizeImage" UriSource="pack://application:,,,/Rubberduck.Resources;component/Icons/Fugue/edit-size.png" /> |
49 | 49 | <BitmapImage x:Key="ExtractInterfaceImage" UriSource="pack://application:,,,/Rubberduck.Resources;component/Icons/Custom/PNG/ExtractInterface.png" /> |
| 50 | + <BitmapImage x:Key="CollapseAllImage" UriSource="pack://application:,,,/Rubberduck.Resources;component/Icons/Fugue/collapse-all.png" /> |
| 51 | + <BitmapImage x:Key="ExpandAllImage" UriSource="pack://application:,,,/Rubberduck.Resources;component/Icons/Fugue/expand-all.png" /> |
50 | 52 |
|
51 | 53 | <converters:BooleanToNullableDoubleConverter x:Key="BoolToDouble" /> |
52 | 54 | <converters:TemplateCommandParameterToTupleConverter x:Key="TemplateCommandParameterToTuple" /> |
|
381 | 383 | </i:Interaction.Behaviors> |
382 | 384 | </MenuItem> |
383 | 385 | </Menu> |
| 386 | + |
| 387 | + <Separator /> |
| 388 | + |
| 389 | + <Button Name="CollapseAll" Command="{Binding CollapseAllCommand}" Margin="2" |
| 390 | + ToolTip="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=InspectionResults_CollapseAll}"> |
| 391 | + <Image Source="{StaticResource CollapseAllImage}" Style="{StaticResource ToolbarImageOpacity}" /> |
| 392 | + </Button> |
| 393 | + |
| 394 | + <Button Name="ExpandAll" Command="{Binding ExpandAllCommand}" Margin="2" |
| 395 | + ToolTip="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=InspectionResults_ExpandAll}"> |
| 396 | + <Image Source="{StaticResource ExpandAllImage}" Style="{StaticResource ToolbarImageOpacity}" /> |
| 397 | + </Button> |
| 398 | + |
384 | 399 | </ToolBar> |
385 | 400 | </ToolBarTray> |
386 | 401 |
|
|
0 commit comments