I am having trouble identifying a CheckBox type within the DataGridControl for styles. I am looking to set a style for a CheckBox to HorizontalContentAlignment to Center within a DataGridControl property without having to set the x:Key name, as I am binding an Observable Collection and I don’t want to specify the style elements individually but by TargetType.
I was thinking that the TargetType will need to be and xceed:DataCell and then a trigger will be set for the DataCell type of CheckBox but I haven’t had any luck so far… any suggestions?
Imported from legacy forums. Posted by Rob (had 1811 views)