I have a combobox inside a datagrid in silverlight4. I have placed a check box inside data template of combobox to make combobox multi-selectable. Now i want to get the values for selected items in combobox.So how i can do that ?
Here is my code :
<ComboBox Name="cbxitmes" Height="23" Width="255" IsSynchronizedWithCurrentItem="False"
ItemsSource="{Binding Path=GetItems,Mode=TwoWay}"
SelectedValue="{Binding Mode=TwoWay, Path=myname}" SelectedValuePath="myvalue">
<ComboBox.ItemTemplate>
<DataTemplate>
<CheckBox Content="{Binding myname}" ></CheckBox>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
Please Help me guys.
Thanks,