开发者

WPF: Custom window, standard min/max/close buttons

I would like to create a custom 开发者_开发问答WPF window (WindowStyle = None, AllowsTransparency = True). However, I would like the min/max/close buttons to look identical to those on standard windows. Is this possible?


You might want to have a look at GlassWindow in FluidKit at CodePlex
http://fluidkit.codeplex.com/

The source code has a custom Window Style looking like this. It's pretty easy to modify to however you want it to look. I've used it once and it works good

WPF: Custom window, standard min/max/close buttons


You'll need to "draw" them yourself, since you're using WindowStyle=None. When choosing this option, you'll need to render your own Chrome as desired.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜