Skip to content

Commit 7c1da95

Browse files
Add InnerContentClipMode to sample
1 parent aa9a7ae commit 7c1da95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
CornerRadius="32"
3838
Color="@[Color:Brush:Black]"
3939
Offset="@[Offset:Vector3:4,4]"
40-
Opacity="@[Opacity:DoubleSlider:1.0:0.0-1.0]"/>
40+
Opacity="@[Opacity:DoubleSlider:1.0:0.0-1.0]"
41+
InnerContentClipMode="@[InnerContentClipMode:Enum:InnerContentClipMode.CompositionMaskBrush]"/>
4142
</ui:Effects.Shadow>
4243
</Rectangle>
4344
<!-- If you want to apply a shadow directly in your visual tree to an untemplated element

0 commit comments

Comments
 (0)