WPF:从代码隐藏向元素添加阴影效果
我以为这会很简单,但到目前为止我什么也没发现。你怎么做?
I thought this would be something simple but so far i found nothing. How do you do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我以为这会很简单,但到目前为止我什么也没发现。你怎么做?
I thought this would be something simple but so far i found nothing. How do you do it?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
已接受的答案现已过时。现在您可以使用:
达到与接受的答案完全相同的效果。
The accepted answer is now obsolete. Now you may use:
To achieve the exact same effect as the accepted answer.
试试这个
just try this
@Gleno 的回答对我帮助最大。就我而言,我使用它来对错过的表单项进行视觉反馈。然后删除我使用的投影:
在 SelectionChanged 事件中。
希望这对某人有帮助。我不得不寻找一下。
@Gleno's answer helped me the most. In my case I was using it for visual feedback on a missed form item. To then remove the dropshadow I used:
in a selectionChanged event.
Hope this helps someone. I had to search for a bit.