当前位置:网站首页>C# 枚举类型 于xaml 中区别
C# 枚举类型 于xaml 中区别
2022-07-30 11:17:00 【Ares-Wang】

-----------winForm -----wpf--------
在C#中设置一个枚举类型的值,通常是 类型.值 而在xaml中则省略前面的类型C#:
SolidColorBrush scb=new SolidColorBrush();
scb.color=colors.AliceBlue;xmal:
<Button color="AliceBlue"/>
边栏推荐
- typescript入门之helloworld
- Vim plugin GrepIt
- Beyond Stream Processing !第四届实时计算 Flink 挑战赛启动,49 万奖金等你来拿!
- 横向对比5种常用的注册中心,无论是用于面试还是技术选型,都非常有帮助
- stm32 RTC闹钟唤醒低功耗模式
- 牛客-TOP101-BM42
- HJY-F931A/YJ三相电压继电器
- Log4j有哪几种日志级别呢?
- 程序环境和预处理(详解)
- 360 released a future-oriented EDR to protect the security of government and enterprise user terminals in an all-round way
猜你喜欢
随机推荐
数据库事务,JDBC操作和数据类型
Still using Swagger?I recommend this interface management artifact with zero code intrusion
salesforce使用方法(salesforce authenticator下载)
IP池设计思考(面试点)[通俗易懂]
The package of idea is not hollow
Voltage relay HDY - vac - 1 A / 1-220
oracle 导出dmp文件类型为“故障转储文件”
R语言怎么绘图(一个r语言完整的命令有什么)
ABP学习资源整理
牛客-TOP101-BM42
feign远程调用时如何在请求头加入数据
基于MySQL数据库,Redis缓存,MQ消息中间件,ES搜索引擎的高可用方案解析
mysql与redis 区别
RandLA-Net复现记录
AIX shell获取前几个月时间
单片机开发之静态LED显示
Telerik2022 R2,有效的自动化测试
基于.NetCore开发博客项目 StarBlog - (16) 一些新功能 (监控/统计/配置/初始化)
Vim plugin GrepIt
简述controller,service,repository注解的用法(谈谈application.properties的作用)









