zoukankan
html css js c++ java
wpf学习笔记Button
1.CheckBox与RadioButton公共要素
(1)IsChecked为属性,Check为事件
(2)为Content添加图片
<
CheckBox
Name
="cb6"
Checked
="HandleChange1"
><
Image
Source
="data\flower.jpg"
Height
="30"
Width
="30"
/>
</
CheckBox
>
2.RadioButton分组
(1)一起放容器中
<
StackPanel
>
<
RadioButton
Name
="rb1"
>
Yes
</
RadioButton
>
<
RadioButton
Name
="rb2"
>
No
</
RadioButton
>
<
RadioButton
Name
="rb3"
>
No opinion
</
RadioButton
>
</
StackPanel
>
(2)定义GroupName属性,命名组名称
<
RadioButton
GroupName
="colorgrp"
>
Red
</
RadioButton
>
<
RadioButton
GroupName
="colorgrp"
>
Blue
</
RadioButton
>
<
RadioButton
GroupName
="numgrp"
>
1
</
RadioButton
>
<
RadioButton
GroupName
="numgrp"
>
2
</
RadioButton
>
3.
Button与
RepeatButton
Button自不必说,
RepeatButton可以让你按下按钮不动重复执行事件
结束
查看全文
相关阅读:
递归回溯 UVa140 Bandwidth宽带
嵌入式设备网络设置
海思板卡SATA最佳读写块大小测试
Linux日志轮循实现(shell)
检测应用的内存泄漏情况(shell)
Python的交叉编译移植至arm板
写一个简单的配置文件和日志管理(shell)
shell 实现主板测试
主板硬件性能测试
C语言 模2除法
原文地址:https://www.cnblogs.com/Clingingboy/p/663652.html
最新文章
Python3.6.3 IDLE ClearWindow 清屏扩展
Html 设置思源黑体字体添加
wow.js和animate.css,添加纯js和css的动画特效
html css img 图片设置宽高厚,图片失真模糊问题-已解决 image-rendering
后盾人:JS课程第七章(Map和weakMap)
后盾人:JS课程第六章(set类型)
后盾人:JS课程第五章(symbol)2020-10-26
后盾人:JS第四章-数组
后盾人:JS第三章-数据类型
后盾人:JS课程第二章(运算符)2020-10-26
热门文章
flex
201809-4(深搜暴力解决)
ccf-201712-2
ccf-201812-4+ccf-201703-4+ccf-201412-4(最小生成树+并查集)
ccf-201809-2
模拟退火算法研究
linux个人情况总结
HTML5标签总结笔记
倒水问题 (FillUVa 10603) 隐式图
迭代加深搜索POJ 3134 Power Calculus
Copyright © 2011-2022 走看看