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可以让你按下按钮不动重复执行事件
结束
查看全文
相关阅读:
C# 特性(Attribute)学习
ASP.NET Request.MapPath() 与 Server.MapPath()
Asp.net对http request 处理的全过程!
保存网址
寻找silverlight高手帮忙解决问题,谢谢,
基于.Net Framework的N层分布式应用开发
VB.NET 代码转为C#
刚刚开通博客噢 。欢迎大家光临啊
配置本地服务器的几种方式
前端必备工具 (记录)
原文地址:https://www.cnblogs.com/Clingingboy/p/663652.html
最新文章
Unity3d AssetBundle 资源加载与管理
GAMES101变换矩阵
ASP.NET MVC入门Program类:程序的入口
GAMES101作业0
数据结构与算法之美字符串匹配(上)
LeetCode探索链表双指针技巧
LeetCode探索链表综合问题
LeetCode探索链表经典问题
ASP.NET MVC入门Startup 类:注册服务和使用中间件
C#考核知识点总结
热门文章
jquery导航实现图片滚动并放大效果
jQuery+JSONP实现虾米音乐的检索、选取和播放
jQuery实现动态背景图片
王子墨网友的基于jQuery的个性个人网站模板
jQuery前后滚动洗牌式图片展示效果
Linux 实用命令
转 WCF、Net remoting、Web service概念及区别
EntityFramework指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效
转 总结asp.net的身份验证方式 .
实验二
Copyright © 2011-2022 走看看