Quantcast
Channel: Caliburn.Micro: Xaml Made Easy
Viewing all articles
Browse latest Browse all 1760

New Post: ListBox.SelectedItems convention

$
0
0
Bladewise,

I have one other question which has got me a little stumped. I am trying to get items selected when the View loads. So in your example code I added the following line to the ShellViewModel constructor
 SelectedItems.Add(Items.First());
When I run this code, I see that Arabic (which is the first item in the list) appears in the right hand top panel BUT the Arabic line on the left hand side is not highlighted as being selected. I am probably doing something stupid - could you please enlighten me once more.

Thanks
Alan

Viewing all articles
Browse latest Browse all 1760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>