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 grid to a data 
source with bool and Colour properties and it all works with little code. I did 
have to use template cells as the CheckBoxColumn has stupid behaviour I 
previous whinged about. The Colour cell is a <Grid> with a TextBlock and the 
picker. I used a converter to show the grid background colour and friendly 
text. I had many subtle problems with column sizing, binding choices and the 
poor C1 documentation about their picker, so it took many hours to get this 
innocuous looking screen working. I will soon need to have a Combobox in a 
DataGrid cell and I’m not expecting that experience to be hugs and puppies 
either -- Greg

 



<<image001.png>>

_______________________________________________
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to