Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to bind to the SelectedItem property of the NavBarControl

$
0
0

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.`

Added By: Elliot (DevExpress Support) at: 3/30/2015 1:39:33 AM    

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.


Viewing all articles
Browse latest Browse all 7205

Trending Articles