摘要: 在做项目中碰到一个问题,一组RadioButton被同一个页面调用多次,发现调用多次中只一组的RadioButton某一项被选中。但是如果是CheckBox 可以多次被选中,那需要每次动态指定RadioButton的GroupName,看如下例子。using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Wind 阅读全文
posted @ 2013-02-05 10:11 焦涛 阅读(280) 评论(0) 推荐(0)
摘要: (一)UI实现代码如下:<Window x:Class="WpfApplication2.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525"> <Grid> 阅读全文
posted @ 2013-02-05 09:52 焦涛 阅读(8474) 评论(0) 推荐(1)