Skip to content

Commit 23e706b

Browse files
committed
Merge pull request #1103 from retailcoder/CodeExplorer
removed superfluous x:Name attributes, added GroupingGrid_GroupingSty…
2 parents dc192b9 + 8a7562e commit 23e706b

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
@@ -1449,4 +1449,7 @@ Are you sure you want to proceed with this rename?</value>
14491449
<data name="CodeInspectionResults_Type" xml:space="preserve">
14501450
<value>Type</value>
14511451
</data>
1452+
<data name="GroupingGrid_GroupingStyle" xml:space="preserve">
1453+
<value>Grouping</value>
1454+
</data>
14521455
</root>

0 commit comments

Comments
 (0)