I want to know how you can modify properties of columns of a WPF toolkit datagrid once the ItemsSource has been set (it is set in XAML)? For example I want to make a specific column have the property IsReadOnly equal to true.
So basically there are two things I want to know:
-How can I get access to a specific column once the ItemsSource has been set?
-How can I change the properties of a specific column once the ItemsSource has been set?
Answer to both questions is:
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.