My question is very simple ...
in Xaml I have
here my Check box is dynamically created so if user selects more than one item in check box what could be the codebehind I need to pass the list of userid wich are been selected... I think it should be ........listuserid.selectedvalues
please answer to this question?
<ListBox x:Name="listuserid" Grid.Column="3" BorderThickness="0" Margin="2,67,-101,66" Grid.RowSpan="3" Background ="Transparent">
<ListBox.ItemTemplate>
<DataTemplate >
<StackPanel Grid.Column="2" HorizontalAlignment="Right" Margin="0,1,-1,11" Width="267" Grid.RowSpan="2" Grid.ColumnSpan ="2">
<CheckBox x:Name="chkbox1" Margin=" 10,15,15,10" Content="{Binding userid1}" Padding ="4,-4,0,0"/>
</StackPanel >
</DataTemplate >
</ListBox.ItemTemplate >
</ListBox >