There is a similar CheckBox Column looks disabled
forum thread where you can look at the solution for this issue. As for recreating the Template of the GridViewCheckBox
programmatically it is possible. However, it would be a lot harder than just writing it in XAML and then accessing the resources programmatically. Because resource dictionaries are simple collections exposed as public properties, nothing prevents you from accessing a resource dictionary’s items directly in source code. For
example, you could set a Button
properties as follows in
C# (assuming a Window object called window):
Button button =
button.Background = (Brush)window.Resources[“backgroundBrush”];
button.BorderBrush = (Brush)window.Resources[“borderBrush”];
I hope this helps.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.