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可以让你按下按钮不动重复执行事件
结束
查看全文
相关阅读:
【算法】百度百科经典算法链接集
【剑指offer】38.字符串的排列
Spring整合RabbitMQ
JVM对象的内存分配,内存布局和访问定位
记一次需求的表结构设计变更
sql server中的系统数据库
HttpWebRequest / HttpWebResponse 远程获取文件信息
XML的操作
对于XML无法传输转义字符的问题
还原数备份文件 SQL语句
原文地址:https://www.cnblogs.com/Clingingboy/p/663652.html
最新文章
浏览器复制,layui隐藏表头,layuiy一步获取当前选中的行数据
vim缩进4个空格
设计模式(知识整理)
第5章 重构列表
第4章 构筑测试体系
第3章 代码的坏味道
第2章 重构原则
第1章 重构,第一个案例
设计模式的7大原则(小结)
大话设计模式读书笔记(访问者模式)
热门文章
大话设计模式读书笔记(解释器模式)
大话设计模式读书笔记(享元模式)
【剑指offer】65.不用加减乘除做加法
【剑指offer】59
【每日一题-leetcode】190.颠倒二进制位
【每日一题-leetcode】231.2的幂
【每日一题-leetcode】191.位1的个数
【剑指offer】55.-II 平衡二叉树
【剑指offer】42.连续子数组的最大和
【剑指offer】54.二叉树的第K大节点
Copyright © 2011-2022 走看看