Skip to content

Commit 6a17288

Browse files
MarkDHarperMark Harper (DEV)
andauthored
DataBindingDemo fix 1144857 by making non-actionable content IsTabStop="False" on MainWindow and AddProductWindow (#308)
* Setting IsTabstop to false for portions of UI that are not meant to be interactive. * Update AddProductWindow.xaml Co-authored-by: Mark Harper (DEV) <mharper@windows.microsoft.com>
1 parent c6321b2 commit 6a17288

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Sample Applications/DataBindingDemo/AddProductWindow.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@
119119
</Border>
120120
<ContentControl Name="ShortPreview" Grid.Row="1"
121121
Content="{Binding}"
122-
HorizontalAlignment="Left" />
122+
HorizontalAlignment="Left" IsTabStop="False" />
123123
<ContentControl Name="LongPreview" Grid.Row="2"
124124
Content="{Binding}"
125125
ContentTemplate="{StaticResource DetailsProductListingTemplate}"
126-
HorizontalAlignment="Left" />
126+
HorizontalAlignment="Left" IsTabStop="False" />
127127
</Grid>
128128
</Border>
129-
</Window>
129+
</Window>

Sample Applications/DataBindingDemo/MainWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<ContentControl Name="Detail" Grid.Row="3" Grid.ColumnSpan="3"
6565
Content="{Binding Source={StaticResource ListingDataView}}"
6666
ContentTemplate="{StaticResource DetailsProductListingTemplate}"
67-
Margin="9,0,0,0" />
67+
Margin="9,0,0,0" IsTabStop="False"/>
6868
<Button Name="OpenAddProduct" Grid.Row="4" Grid.Column="1" Content="Add Product" HorizontalAlignment="Center"
6969
Margin="8"
7070
Click="OpenAddProductWindow" />

0 commit comments

Comments
 (0)