Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Commit

Permalink
Removed single selection mode from datagrids. Fixes #22.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelledruyts committed Jun 19, 2017
1 parent ce6f85d commit b7c3c28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

<Button Grid.Row="1" Content="Compare Team Projects With Sources" Command="{Binding Path=CompareCommand}" Margin="0,5,0,0" />

<DataGrid Grid.Row="2" ItemsSource="{Binding Path=ComparisonResults}" SelectedItem="{Binding Path=SelectedComparisonResult}" x:Name="comparisonResultsDataGrid" SelectionMode="Single" MouseDoubleClick="comparisonResultsDataGrid_MouseDoubleClick" IsReadOnly="True" AutoGenerateColumns="False" Margin="0,5,0,0">
<DataGrid Grid.Row="2" ItemsSource="{Binding Path=ComparisonResults}" SelectedItem="{Binding Path=SelectedComparisonResult}" x:Name="comparisonResultsDataGrid" MouseDoubleClick="comparisonResultsDataGrid_MouseDoubleClick" IsReadOnly="True" AutoGenerateColumns="False" Margin="0,5,0,0">
<DataGrid.Columns>
<DataGridTextColumn Header="Team Project" Binding="{Binding Path=TeamProject}" />
<DataGridTextColumn Header="Best Matching Source" Binding="{Binding Path=BestMatch.Source.Name}" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
support the macros below, which are replaced by their actual value just before the file is uploaded to Team Foundation Server.
</TextBlock>

<DataGrid Grid.Row="1" ItemsSource="{Binding Path=Macros}" SelectedItem="{Binding Path=SelectedMacro}" SelectionMode="Single" AutoGenerateColumns="False" IsReadOnly="True" Margin="0,5,0,0" HorizontalScrollBarVisibility="Auto">
<DataGrid Grid.Row="1" ItemsSource="{Binding Path=Macros}" SelectedItem="{Binding Path=SelectedMacro}" AutoGenerateColumns="False" IsReadOnly="True" Margin="0,5,0,0" HorizontalScrollBarVisibility="Auto">
<DataGrid.Columns>
<DataGridTextColumn Header="Macro" Binding="{Binding Path=Macro}" />
<DataGridTextColumn Header="Example" Binding="{Binding Path=Example}" />
Expand Down

0 comments on commit b7c3c28

Please sign in to comment.