Image for each record in xamdatagrid
-
Hi, I have a class student class. student { StudentName{get;set;} Gender StudentGender{get;set} } Gender (this is enum) { Male, Female, } I have binded list of students to xamdatagrid. (which contains the Name,Image) My requirement is if the student is Male, display the Male image, if the record is female, display the female record based on the Enum(Gender). how can we achive this is .xaml Note: Male image and Female image nothing but icons.(static)
-
Hi, I have a class student class. student { StudentName{get;set;} Gender StudentGender{get;set} } Gender (this is enum) { Male, Female, } I have binded list of students to xamdatagrid. (which contains the Name,Image) My requirement is if the student is Male, display the Male image, if the record is female, display the female record based on the Enum(Gender). how can we achive this is .xaml Note: Male image and Female image nothing but icons.(static)