简体   繁体   中英

Bind a collection to columns in wpf datagrid

Usually we bind a collection to pre-defined columns of wpf data grid. Now requirement is little different.

I have a collection which contains Actors info. And I have a collection which have departments.

I want to create a checkbox column for each actor and put them against departments and check/uncheck based on their skills level. Sample image is attached

在此处输入图片说明

You could refer this link . It guide for C1-WPF but I think the idea for WPF standard is similar

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM