Drop Shadow effect in Universal Windows Application

前端 未结 1 889
没有蜡笔的小新
没有蜡笔的小新 2020-12-07 01:56

I\'m looking for an easy way to add a Drop Shadow effect like in WPF, using XAML only. I would like to apply it for the elements in a ListView.

I haven\'t found anyt

1条回答
  •  温柔的废话
    2020-12-07 02:28

    If you want to do it yourself with the Composition API, it's quite some work indeed. Luckily we got a great community, and one of those open source projects is the UWP Community Toolkit. This toolkit contains a DropShadowPanel control that does the hard work for you.

    
        
        
    

    Note that you'll have to set the app version to 10.0.14393.0 (Anniversary Update) for this effect.

    0 讨论(0)
提交回复
热议问题