【发布时间】:2011-09-25 10:30:00
【问题描述】:
这是列表框代码:
<ListBox x:Name="courseslistview"
ItemsSource="{Binding .}"
FontSize="18.667"
FontFamily="Trebuchet MS"
LayoutUpdated="courseslistview_LayoutUpdated">
<ListBox.ItemTemplate>
<DataTemplate>
<CheckBox Content="{Binding .}" />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
如何使用 C# 获取上述 ListBox 中所有选中的复选框?
【问题讨论】: