<ListBox Name="lstbxFieldName" HorizontalContentAlignment="Left" Height="170" Width="320" Style="{StaticResource lstBoxStyle}" TabIndex="4"> <ListBox.ItemTemplate> <DataTemplate> <StackPanel Orientation="Horizontal" Margin="20,0,0,0" ScrollViewer.VerticalScrollBarVisibility="Visible"> <CheckBox Name="chkuser" Tag="{Binding FieldValue}" Content="{Binding FieldName}" HorizontalAlignment="Left" Margin="5,5,0,0"/> </StackPanel> </DataTemplate> </ListBox.ItemTemplate> </ListBox>
RadioButton
CheckBox
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)