This example demonstrates how to obtain a NavBarControl's selected item in a ViewModel.
For this, it's necessary to bind the NavBarControl's SelectedItem property to a property in your View Model. For example:
[XAML]<dxn:NavBarControlSelectedItem="{Binding Path=SelectedItem, Mode=TwoWay}".../>
Question Comments
Added By: Itamar Shoham at: 3/30/2015 1:34:59 AM
in DevExpress 13.1.7.0:
`The property 'NavBarControl.SelectedItem' cannot be set because it does not have an accessible set accessor.`
Hello,
To process your recent post more efficiently, I created a separate ticket on your behalf: T225021: The property 'NavBarControl.SelectedItem' cannot be set in the 13.1.7.0 version of the Devexpress. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.