Skip to content

Commit f7801ea

Browse files
Use lighter Border over Grid for Shadow Target
1 parent f832e01 commit f7801ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/Shadows/AttachedShadowCompositionXaml.bind

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020

2121
<ScrollViewer>
2222
<Grid>
23-
<!-- The ShadowTarget Grid here is a *sibling* element behind where our elements which will cast
23+
<!-- The ShadowTarget Border here is a *sibling* element behind where our elements which will cast
2424
shadows are located, this is important as otherwise if we used a parent element the
2525
shadows would appear on top of our elements instead!
2626
It is also placed within the ScrollViewer here so shadows move with their elements. -->
27-
<Grid x:Name="ShadowTarget"/>
27+
<Border x:Name="ShadowTarget"/>
2828
<StackPanel Spacing="32" VerticalAlignment="Center">
2929
<!-- All buttons on this page have the shadow from the common style!
3030
The Shadow definition is Shared! -->

0 commit comments

Comments
 (0)