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

Viewing all articles
Browse latest Browse all 7205

Trending Articles



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