开发者

How to create a custom WPF Window like this one?

开发者 https://www.devze.com 2023-01-22 18:43 出处:网络
开发者_JAVA技巧Add the following properties to your Window definition to get rid of the default style

How to create a custom WPF Window like this one?

开发者_JAVA技巧


Add the following properties to your Window definition to get rid of the default style

WindowStyle="None"
AllowsTransparency="True"
Background="Transparent"

I'm not sure the exact details of how they created their border but I'm guessing it has something to do with a Border which has a Transparent background, a CornerRadius, and perhaps a Blur Effect. It might actually be 2-3 borders (one black 1px one with a ~ 5 corner radius, a transparent one with the blur effect, and a third square one for around the content box)


Using Microsoft Expression Blend

0

精彩评论

暂无评论...
验证码 换一张
取 消