0
点赞
收藏
分享

微信扫一扫

JoySSL:免费SSL证书的新选择

自由的美人鱼 2023-10-24 阅读 42
wpf

引入system

xmlns:system="clr-namespace:System;assembly=mscorlib"

设置参数资源

    <Window.Resources>
 
        <system:Double x:Key="ButtonWidth">90</system:Double>
    </Window.Resources>

使用参数资源

<Button Width="{StaticResource ButtonWidth}"/>
举报

相关推荐

0 条评论