View Complete Post
I have a WPF Datagrid binded with list of interface objects.
Consider, ClsEmployee class implements I_Employee interface with properties Empl_Id, Empl_Name, Department, Address and City_name.
consider, _emplList has 10 items.
dgEmployeeGrid.ItemsSource = _emplList;
Now, if the user clicks on a button, then i should be able to read the City_name. Based on the City_name, i should be able to set the color (Color can be different for each row) for the rows dynamically through C# code.
Please help me how to do this?
Thanks in advance!
I have a WPF 4.0 Datagrid displaying order values and I need to colour the backgroud of the high value orders so the user will notice high value orders easily. Is it possible to set the colour from white to red but increasing in steps say every 10,000 and
increase the colour intensity according to the value.
Can someone show me how to change the background color of a DataGrid cell. I have tried several examples and still having a time getting it to work. I have a datagrid that is 10 by 11. Each cell has a number (number will never change,
just the color). The number represents a particuliar alarm from a test stand. I have to analyze the data from a data source and then set the background color. I am not binding to the data source. I am really new to WPF and could use a complete
example. I do not have the toolkit install and I am using MS Visual C# express. Thanks in advance.
I have very urgent requirement like
1> "change the color of the background of report to the RGB (240, 240, 240)" and
2>change the background of the legend to "white" i am able to do the second requirement please any one of you please suggest me in doing the first requirment
Thanks in advance...
I have a customized slider control. When the control is set to IsEnabled=false, the color changes to the default desabled color. How do I change this to a different color in Expression blend? I have tried unchecking IsEnabled property in Expression Blend,
and changing the color, but is still takes the default disabled color.
Would appreciate if anyone knows how to do this using Expression Blend
As this site, http://www.borfin.com.tr/genel/Default.aspx, How can I change the background color selected pages.
MSDN Magazine November 2001
If you have a table with some rows and columns, and set the background color on the <tr>ÃÂ´s like this:
Then you can see the lines that seperates the <tr>ÃÂ´s and <td>ÃÂ´s. Its like the borders that define the tablestructure still has its original color (or is transparent). And it looks quite ugly. How do you avoid this? Is there a way in CSS to make these borders 0 pixels wide?
I know that I can just put the background color on the table instead, but that is not a possible solution in my case.
Thanks alot :)