Use lighter Border over Grid for Shadow Target

This commit is contained in:
michael-hawker 2021-09-20 11:50:59 -07:00
Родитель f832e011eb
Коммит f7801ea57f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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