Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 0.75 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Items collection must be empty before using error
  2. <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
  3.    <StackPanel>
  4.       <TextBlock Text="Please select the satellites from the list:-" />
  5.       <toolkit:MultiselectList Name="multiSelectionList">
  6.           <toolkit:MultiselectItem Content="{Binding Name}" />
  7.       </toolkit:MultiselectList>
  8.    </StackPanel>
  9.  </Grid>
  10.        
  11. Items collection must be empty before using ItemsSource.
  12.        
  13. <toolkit:MultiselectItem Content="{Binding Name}" />
  14.        
  15. <toolkit:MultiselectList Name="multiSelectionList">
  16.   <toolkit:MultiSelectList.ItemTemplate>
  17.      <DataTemplate>
  18.          <toolkit:MultiselectItem Content="{Binding Name}" />
  19.      </DataTemplate>
  20.   </toolkit:MultiSelectList.ItemTemplate>
  21. </toolkit:MultiselectList>