Re: DataGridCheckBoxColumn (fixed?!)

2011-12-06 Thread Jordan Knight
Create a user control and place it in the cell. Have a dependency property on it to publish the select color back to where you need... Cheers, Jordan. On 06/12/2011, at 7:07 PM, Greg Keogh g...@mira.net wrote: Now that’s solved, I have an even more ambitious thing to try. I want to

RE: DataGridCheckBoxColumn (fixed?!)

2011-12-06 Thread Greg Keogh
It’s all working now. It turns out I didn’t need to walk up anywhere for the DataContext, as the I managed to embed a C1 colour picker control into the template cell and bind it directly to the Colour property. The screen shot I’ve pasted below (if your email can see it) shows how I’ve bound a

RE: DataGridCheckBoxColumn (fixed?!)

2011-12-05 Thread Greg Keogh
Good grief, the advice to use a template column instead of a check box column seems to work. A single gesture is required to toggle the check and update the bound property. Who would have guessed?! Greg data:DataGridTemplateColumn data:DataGridTemplateColumn.CellEditingTemplate