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

2011-12-05 Thread Steven Nagy
2011 3:23 PM To: ozSilverlight Subject: RE: DataGridCheckBoxColumn I love your posts Greg because there's no actual question there :) To solve #1, Template column actually works fine and I promise it will only take you about 1 minute more. You get to provide your own DataTemplate which can contain

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