|
35 | 35 | </ObjectDataProvider> |
36 | 36 |
|
37 | 37 | <Style x:Key="HeaderText" TargetType="Label"> |
38 | | - <Setter Property="Foreground" Value="{DynamicResource CaptionLightBrush}"/> |
| 38 | + <Setter Property="Foreground" Value="{StaticResource CaptionLightBrush}"/> |
39 | 39 | <Setter Property="FontWeight" Value="SemiBold"/> |
40 | 40 | </Style> |
41 | 41 | <Style x:Key="BorderHeader" TargetType="Border"> |
42 | | - <Setter Property="Background" Value="{DynamicResource HeaderBackgroundDarkBrush}"/> |
| 42 | + <Setter Property="Background" Value="{StaticResource HeaderBackgroundDarkBrush}"/> |
43 | 43 | <Setter Property="CornerRadius" Value="5"/> |
44 | 44 | </Style> |
45 | 45 | </ResourceDictionary> |
46 | 46 | </UserControl.Resources> |
47 | 47 | <Grid> |
48 | 48 | <ScrollViewer x:Name="ScrollViewer"> |
49 | 49 | <StackPanel Margin="5,5,5,0" ScrollViewer.VerticalScrollBarVisibility="Auto"> |
50 | | - <Border Style="{DynamicResource BorderHeader}" |
| 50 | + <Border Style="{StaticResource BorderHeader}" |
51 | 51 | Margin="0,0,0,3" Height="36"> |
52 | 52 | <DockPanel FlowDirection="LeftToRight"> |
53 | 53 | <StackPanel Orientation="Horizontal" DockPanel.Dock="Left"> |
54 | | - <Label Style="{DynamicResource HeaderText}" |
| 54 | + <Label Style="{StaticResource HeaderText}" |
55 | 55 | Content="{Resx ResxName=Rubberduck.CodeAnalysis.CodeAnalysisUI,Key=CodeInspectionSettingsPage_InspectionSeveritySettingsLabel}" Margin="5,5,0,5" Width="127" /> |
56 | 56 | <StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch"> |
57 | 57 | <StackPanel.Resources> |
|
60 | 60 | </Style> |
61 | 61 | </StackPanel.Resources> |
62 | 62 | <Label Content="-" /> |
63 | | - <Image Source="{DynamicResource FilterImage}" Width="19" /> |
| 63 | + <Image Source="{StaticResource FilterImage}" Width="19" /> |
64 | 64 | <Label Target="{Binding ElementName=searchBox, Path=ValueContainerInput}" |
65 | 65 | Content="{Resx ResxName=Rubberduck.CodeAnalysis.CodeAnalysisUI, Key=CodeInspectionSettingsPage_FilterByDescription}" /> |
66 | 66 | <controls:SearchBox x:Name="searchBox" |
|
89 | 89 | </StackPanel> |
90 | 90 | </DockPanel> |
91 | 91 | </Border> |
92 | | - <Border BorderBrush="{DynamicResource HeaderBackgroundDarkBrush}" BorderThickness="1" CornerRadius="2"> |
| 92 | + <Border BorderBrush="{StaticResource HeaderBackgroundDarkBrush}" BorderThickness="1" CornerRadius="2"> |
93 | 93 | <controls:GroupingGrid ItemsSource="{Binding InspectionSettings}" |
94 | 94 | AutoGenerateColumns="False" |
95 | 95 | CanUserReorderColumns="False" |
|
136 | 136 | </controls:GroupingGrid> |
137 | 137 | </Border> |
138 | 138 |
|
139 | | - <Border Style="{DynamicResource BorderHeader}" |
| 139 | + <Border Style="{StaticResource BorderHeader}" |
140 | 140 | Margin="0,15,0,5"> |
141 | | - <Label Style="{DynamicResource HeaderText}" |
| 141 | + <Label Style="{StaticResource HeaderText}" |
142 | 142 | Content="{Resx ResxName=Rubberduck.CodeAnalysis.CodeAnalysisUI, Key=CodeInspectionSettingsPage_Misc}"> |
143 | 143 | </Label> |
144 | 144 | </Border> |
|
148 | 148 | Content="{Resx ResxName=Rubberduck.CodeAnalysis.CodeAnalysisUI, Key=CodeInspectionSettingsPage_Misc_RunInspectionsOnSuccessfulParse}" /> |
149 | 149 | </StackPanel> |
150 | 150 |
|
151 | | - <Border Style="{DynamicResource BorderHeader}" |
| 151 | + <Border Style="{StaticResource BorderHeader}" |
152 | 152 | Margin="0,15,0,5"> |
153 | | - <Label Style="{DynamicResource HeaderText}" |
| 153 | + <Label Style="{StaticResource HeaderText}" |
154 | 154 | Content="{Resx ResxName=Rubberduck.CodeAnalysis.CodeAnalysisUI, Key=CodeInspectionSettingsPage_WhitelistedIdentifiersLabel}" /> |
155 | 155 | </Border> |
156 | 156 |
|
|
164 | 164 | BorderThickness="0" |
165 | 165 | Background="Transparent"> |
166 | 166 | <StackPanel Orientation="Horizontal"> |
167 | | - <Image Source="{DynamicResource AddImage}" /> |
| 167 | + <Image Source="{StaticResource AddImage}" /> |
168 | 168 | <TextBlock Text="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=Add}" |
169 | 169 | Margin="2,0" /> |
170 | 170 | </StackPanel> |
|
176 | 176 | Background="Transparent" |
177 | 177 | IsEnabled="{Binding ElementName=WhitelistedIdentifiersGrid, Path=SelectedItem, Converter={StaticResource HasSelectedItems}}"> |
178 | 178 | <StackPanel Orientation="Horizontal"> |
179 | | - <Image Source="{DynamicResource DeleteImage}" /> |
| 179 | + <Image Source="{StaticResource DeleteImage}" /> |
180 | 180 | <TextBlock Text="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=Remove}" |
181 | 181 | Margin="2,0" /> |
182 | 182 | </StackPanel> |
183 | 183 | </Button> |
184 | 184 | </ToolBar> |
185 | 185 | </ToolBarTray> |
186 | | - <Border BorderBrush="{DynamicResource HeaderBackgroundDarkBrush}" BorderThickness="1" CornerRadius="2"> |
| 186 | + <Border BorderBrush="{StaticResource HeaderBackgroundDarkBrush}" BorderThickness="1" CornerRadius="2"> |
187 | 187 | <DataGrid Name="WhitelistedIdentifiersGrid" |
188 | 188 | ItemsSource="{Binding WhitelistedIdentifierSettings}" |
189 | 189 | AutoGenerateColumns="False" |
|
0 commit comments