Skip to content

Commit 8a7562e

Browse files
committed
removed superfluous x:Name attributes, added GroupingGrid_GroupingStyle resx key
1 parent 515efda commit 8a7562e

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

RetailCoder.VBE/UI/CodeInspections/InspectionResultsControl.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@
348348
</Menu>
349349

350350
<Menu>
351-
<MenuItem Header="Grouping">
351+
<MenuItem Header="{Resx ResxName=Rubberduck.UI.RubberduckUI, Key=GroupingGrid_GroupingStyle}">
352352
<MenuItem.Icon>
353353
<Image Height="16" Source="../../Resources/Microsoft/PNG/GroupBy_284_32.png" />
354354
</MenuItem.Icon>
@@ -368,7 +368,7 @@
368368

369369
</ToolBar>
370370

371-
<controls:GroupingGrid Grid.Row="1" x:Name="ResultsByInspectionTypeGrid"
371+
<controls:GroupingGrid Grid.Row="1"
372372
ShowGroupingItemCount="True"
373373
SelectedItem="{Binding SelectedItem}"
374374
ItemsSource="{Binding Source={StaticResource ResultsByInspectionType}}"
@@ -386,7 +386,7 @@
386386
</DataGrid.Columns>
387387
</controls:GroupingGrid>
388388

389-
<controls:GroupingGrid Grid.Row="1" x:Name="ResultsByModuleGrid"
389+
<controls:GroupingGrid Grid.Row="1"
390390
ShowGroupingItemCount="True"
391391
SelectedItem="{Binding SelectedItem}"
392392
ItemsSource="{Binding Source={StaticResource ResultsByModule}}"

RetailCoder.VBE/UI/RubberduckUI.Designer.cs

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

RetailCoder.VBE/UI/RubberduckUI.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,4 +1467,7 @@ Are you sure you want to proceed with this rename?</value>
14671467
<data name="CodeInspectionResults_Type" xml:space="preserve">
14681468
<value>Type</value>
14691469
</data>
1470+
<data name="GroupingGrid_GroupingStyle" xml:space="preserve">
1471+
<value>Grouping</value>
1472+
</data>
14701473
</root>

0 commit comments

Comments
 (0)