This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Mindscape WpfElement version: 6.0.2165.22593 Caliburn Micro version 1.5.2 VS 2010 In my ExplorerView.xaml:
In my ExplorerViewModel:
When call into ShowWorkspace method, selectedItem is null. Have i missed out anything? |
|
|
Hello The binding was not working because our SelectedItem property was not a dependency property. I've updated this which you can get from the next nightly build. (About 12 hours from now) http://www.mindscapehq.com/products/wpfelements/nightly-builds Sorry for any inconvenience. Jason Fauchelle |
|
|
Hi Jason, Thanks for the respond. On second thought, it would probably be better to pass the SelectedIndex property instead of SelectedItem. Is this property available? |
|
|
Hello I agree, it would be much better to have the selected index so that you don't pass UI controls into the model layer. I've added the SelectedIndex property for you which will be available in the next nightly build. Jason Fauchelle |
|