KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have this listBox that gets populated, each item can be either male or female depending on the 'SEX' property that is binded to the listBox. (Could be either 'M' for male and 'F' for female)... For each item i would like to display either a male or female symbol based on the list items SEX property. for instance if "{Binding SEX}" equals 'M': <Image Source="../Images/male48.png" Visibility="Visible" /> and if "{Binding SEX}" equals 'F': <Image Source="../Images/female48.png" Visibility="Visible" /> How exactly would I go about getting this to work?
Tags (comma-separated)
Save Edits
Cancel