public class Employee { public int Id { get; set; } public string Name { get; set; } }
<listview itemssource="{x:Bind EmployeesList}" HorizontalAlignment="Left"> <listview.itemtemplate> <datatemplate x:datatype="data:Employee" xmlns:x="#unknown"> <stackpanel orientation="Horizontal"> <checkbox checked="StatusCB_Checked" Margin="5,2,5,0"> <textblock name="EmpNametxtBlk" Text="{x:Bind Name}" VerticalAlignment="Center"> </textblock></checkbox></stackpanel> </datatemplate> </listview.itemtemplate> </listview>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)