如何獲得選擇的複選框的項目我有一個列表框,其中項目包含複選框: 我想要得到的字符串Content
爲該用戶選擇從列表框中
<ListBox Name="SendCodecsNamelistBox"
Height="52"
Margin="150,128,31,65"
ItemsSource="{Binding .}">
<ListBox.ItemTemplate>
<DataTemplate>
<CheckBox Content="{Binding Path=.}" />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
這是什麼束縛至?從支持UI的數據源獲取所需的信息可能會更好,而不是直接從UI獲取信息。 – Dan 2012-08-08 03:30:19