Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Binding collections child item propery to Combobox...

$
0
0

Hi,

In my application, i have a observablecollection of Employee class. Employee class has a name and Designation property.

This observablecollection is binded using DataContext to a userControl. In this usercontrol i have a combobox where i want to display name of all Employees from collection and i have a lable which will show the selected employees designation.

How i can bind all the employee names to a combobox and the selected item(employee) designation to the label.


Thanks,

IamHuM


Viewing all articles
Browse latest Browse all 18858

Trending Articles



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