|
53 | 53 | </ToolBar.Resources> |
54 | 54 |
|
55 | 55 | <Button ToolTip="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=Refresh}" Command="{Binding RefreshCommand}"> |
56 | | - <Image Source="{StaticResource RefreshImage}" Style="{StaticResource ToolbarImageOpacity}"/> |
| 56 | + <Image Source="{DynamicResource RefreshImage}" Style="{DynamicResource ToolbarImageOpacity}"/> |
57 | 57 | </Button> |
58 | 58 |
|
59 | 59 | <Separator /> |
60 | 60 |
|
61 | 61 | <Button ToolTip="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=Remove}" Command="{Binding RemoveCommand}"> |
62 | | - <Image Source="{StaticResource DeleteImage}" Style="{StaticResource ToolbarImageOpacity}" /> |
| 62 | + <Image Source="{DynamicResource DeleteImage}" Style="{DynamicResource ToolbarImageOpacity}" /> |
63 | 63 | </Button> |
64 | 64 |
|
65 | 65 | <Separator /> |
66 | 66 |
|
67 | 67 | <Label Content="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=GroupingGrid_GroupingStyle}" /> |
68 | 68 |
|
69 | | - <ToggleButton Style="{StaticResource ToolBarToggleStyle}" |
| 69 | + <ToggleButton Style="{DynamicResource ToolBarToggleStyle}" |
70 | 70 | ToolTip="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=GroupingStyle_ByMarker}" |
71 | | - IsChecked="{Binding Path=Grouping, Converter={StaticResource GroupByMarkerConverter}, ConverterParameter={x:Static toDoItems:ToDoItemGrouping.Marker}}"> |
72 | | - <Image Source="{StaticResource GroupByMarkerImage}" /> |
| 71 | + IsChecked="{Binding Path=Grouping, Converter={DynamicResource GroupByMarkerConverter}, ConverterParameter={x:Static toDoItems:ToDoItemGrouping.Marker}}"> |
| 72 | + <Image Source="{DynamicResource GroupByMarkerImage}" /> |
73 | 73 | </ToggleButton> |
74 | 74 |
|
75 | | - <ToggleButton Style="{StaticResource ToolBarToggleStyle}" |
| 75 | + <ToggleButton Style="{DynamicResource ToolBarToggleStyle}" |
76 | 76 | ToolTip="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=GroupingStyle_ByLocation}" |
77 | | - IsChecked="{Binding Path=Grouping, Converter={StaticResource GroupByLocationConverter}, ConverterParameter={x:Static toDoItems:ToDoItemGrouping.Location}}"> |
78 | | - <Image Source="{StaticResource GroupByLocationImage}" /> |
| 77 | + IsChecked="{Binding Path=Grouping, Converter={DynamicResource GroupByLocationConverter}, ConverterParameter={x:Static toDoItems:ToDoItemGrouping.Location}}"> |
| 78 | + <Image Source="{DynamicResource GroupByLocationImage}" /> |
79 | 79 | </ToggleButton> |
80 | 80 |
|
81 | 81 | <Separator /> |
82 | 82 |
|
83 | | - <Image Source="{StaticResource FilterImage}" /> |
| 83 | + <Image Source="{DynamicResource FilterImage}" /> |
84 | 84 |
|
85 | 85 | <Label Content="{Resx ResxName=Rubberduck.Resources.ToDoExplorer.ToDoExplorerUI, Key=FilterLabel}" /> |
86 | 86 | <controls:SearchBox Width="100" |
|
89 | 89 | <Separator /> |
90 | 90 | <Button Name="CollapseAll" Command="{Binding CollapseAllCommand}" |
91 | 91 | ToolTip="{Resx ResxName=Rubberduck.UI.Inspections.InspectionResultsUI, Key=CollapseAll}"> |
92 | | - <Image Source="{StaticResource CollapseAllImage}" Style="{StaticResource ToolbarImageOpacity}" /> |
| 92 | + <Image Source="{DynamicResource CollapseAllImage}" Style="{DynamicResource ToolbarImageOpacity}" /> |
93 | 93 | </Button> |
94 | 94 |
|
95 | 95 | <Button Name="ExpandAll" Command="{Binding ExpandAllCommand}" |
96 | 96 | ToolTip="{Resx ResxName=Rubberduck.UI.Inspections.InspectionResultsUI, Key=ExpandAll}"> |
97 | | - <Image Source="{StaticResource ExpandAllImage}" Style="{StaticResource ToolbarImageOpacity}" /> |
| 97 | + <Image Source="{DynamicResource ExpandAllImage}" Style="{DynamicResource ToolbarImageOpacity}" /> |
98 | 98 | </Button> |
99 | 99 |
|
100 | 100 | <Separator /> |
101 | 101 | <Button Command="{Binding CopyResultsCommand}"> |
102 | | - <Image Source="{StaticResource CopyResultsImage}" Style="{StaticResource ToolbarImageOpacity}" /> |
| 102 | + <Image Source="{DynamicResource CopyResultsImage}" Style="{DynamicResource ToolbarImageOpacity}" /> |
103 | 103 | <Button.ToolTip> |
104 | 104 | <TextBlock Text="{Resx ResxName=Rubberduck.Resources.ToDoExplorer.ToDoExplorerUI, Key=ToDoExplorer_CopyToolTip}" /> |
105 | 105 | </Button.ToolTip> |
106 | 106 | </Button> |
107 | 107 | <Separator /> |
108 | 108 | <Button ToolTip="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=Settings}" Command="{Binding OpenTodoSettingsCommand}"> |
109 | | - <Image Source="{StaticResource SettingsImage}" Style="{StaticResource ToolbarImageOpacity}" /> |
| 109 | + <Image Source="{DynamicResource SettingsImage}" Style="{DynamicResource ToolbarImageOpacity}" /> |
110 | 110 | </Button> |
111 | 111 | </ToolBar> |
112 | 112 | </ToolBarTray> |
|
0 commit comments