In the post: http://silverlight.net/forums/t/42372.aspx I make cell foreground change. After that, when the data in cell is changed, I need change foreground again. But the LoadingRow can not be raising
after first load. Does anyone have a good way to do this?
I changed the background & foreground color of DataGridCell and when I select the click on datagrid row that time the edited cell not show row selection color.
hushaoming
Member
4 Points
9 Posts
DataGrid: How to change cell foreground after LoadingRow?
Jan 06, 2009 07:19 AM | LINK
In the post: http://silverlight.net/forums/t/42372.aspx I make cell foreground change. After that, when the data in cell is changed, I need change foreground again. But the LoadingRow can not be raising after first load. Does anyone have a good way to do this?
thanks
datagrid DataGridCellStyle Datagrid Cell Focus
preishuber
Contributor
3572 Points
658 Posts
Re: DataGrid: How to change cell foreground after LoadingRow?
Jan 06, 2009 08:44 AM | LINK
i would try to use two way databinding and a valueconverter
http://silverlight.net/forums/p/27465/93474.aspx#93474
http://www.ppedv.de
hushaoming
Member
4 Points
9 Posts
Re: DataGrid: How to change cell foreground after LoadingRow?
Jan 07, 2009 01:24 AM | LINK
Thank preishuber.
Finnally, I use Foreground Binding a property in my dataclass
In my data class, add ForeColor
in Page.XAML like this:
It works, but I think it is not a best way.
Prashant Agone
Member
2 Points
2 Posts
Re: DataGrid: How to change cell foreground after LoadingRow?
May 15, 2009 09:20 AM | LINK
Hi,
I changed the background & foreground color of DataGridCell and when I select the click on datagrid row that time the edited cell not show row selection color.
It is only show the color which I modified
puneetpriyad...
Member
28 Points
17 Posts
Re: DataGrid: How to change cell foreground after LoadingRow?
Jun 07, 2009 02:03 PM | LINK
Try This it might help..
Thanks
Puneet