WPF模糊效果(BlurEffect)

时间:2016-06-30 19:53:31   收藏:0   阅读:1282
        <TextBlock Padding="10" Text="设置模糊" FontSize="32" Background="#999">
            <TextBlock.Effect>
                <BlurEffect Radius="5"></BlurEffect>
            </TextBlock.Effect>
        </TextBlock>

通过设置BlurEffect的Radius属性的可以设置模糊度

技术分享

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!