开发者

WPF: How to make a button background transparent

I want to know how to set a wpf button background to transparent.

开发者_开发问答thank you


<Button Background="Transparent"/>


Transparency Declaratively

<Button Background="Transparent"/>

Transparency programatically

this.btnTransparent.Background = Brushes.Transparent;

Semi-transparency declaratively

Opacity="0.5"

Semi-transparency programmatically

this.Opacity = 0.5;
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜