当前位置:网站首页>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"/>
边栏推荐
- TensorFlow自定义训练函数
- Beyond Stream Processing!The 4th real-time computing Flink challenge is launched, and 490,000 prizes are waiting for you!
- NLP领域的最新研究进展
- Oracle中SQL语言和分页rownum分析
- EA中的业务对象和业务实体你分得清吗?
- 优酷VIP会员周卡只需7.5元,看《沉香如屑》用优酷视频
- 美团内推+校招笔试题+知识点总结
- 高能产出!腾讯内部的MyCat中间件手册,理论实操齐下
- 电压继电器HDY-A/1-220VAC-1
- 真正懂经营管理的CIO具备哪些特质
猜你喜欢
随机推荐
听到'演员工作比工人辛苦,吃得也不如工人好?'我笑了
ORA-00600 [13013], [5001], [268] 问题分析及恢复
idea的package没有空心
[ASP.NET Core] Dependency Injection for Option Classes
干货|语义网、Web3.0、Web3、元宇宙这些概念还傻傻分不清楚?(中)
The configuration process and related syntax of writing markdown format notes in vscode
Vim plugin GrepIt
360 released a future-oriented EDR to protect the security of government and enterprise user terminals in an all-round way
Meituan internal push + school recruitment written test + summary of knowledge points
重写并自定义依赖的原生的Bean方法
LeetCode_235_二叉搜索树的最近公共祖先
Is it too late to apply for PMP now to take the September exam?Share agile full-true mock questions
RY-D1/1电压继电器
JSP 语法简介说明
mysql与redis 区别
电压继电器HDY-A/1-220VAC-1
VSCode更改插件的安装位置
EA中的业务对象和业务实体你分得清吗?
Voltage relay h2d SRMUVS - 100 vac - 2
【ASP.NET Core】选项类的依赖注入