Quantcast
Viewing all articles
Browse latest Browse all 7205

How to bind to the SelectedItem property of the NavBarControl


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}".../>

Viewing all articles
Browse latest Browse all 7205

Trending Articles