你好,不知道你对CheckBoxList和RadioButtonList这两个控件是怎么理解的?
其实,你只要把Silverlight标准控件的RadioButton和CheckBox放在一起,他就是个CheckBoxList或RadioButtonList了,如果觉得麻烦或者有一些特殊需求,只要顶一个UserControl的自定义控件,在Blend里拜一下,在VS2008里写一下具体行为的处理就可以了。
RadioButtonList例子:
<RadioButton Height="21" Width="45" Foreground="#FFFFF4F4" Content="隐身" Canvas.Left="416.736" Canvas.Top="70.13"/>
<RadioButton Height="21" Width="45" Foreground="#FFFFF4F4" Content="忙碌" Canvas.Left="465.736" Canvas.Top="70.13"/>
<RadioButton Height="21" Foreground="#FFFFF4F4" Content="离开" Width="45" Canvas.Left="514.736" Canvas.Top="70.13"/>
<RadioButton Height="21" Foreground="#FFFFF4F4" Content="静音" Width="45" Canvas.Left="563.736" Canvas.Top="70.13"/>
<RadioButton Height="21" Foreground="#FFFFF4F4" Content="在线" Width="45" IsChecked="True" Canvas.Left="612.736" Canvas.Top="70.13"/>