PC Review


Reply
Thread Tools Rate Thread

Color of a single row of a data grid

 
 
Saurabh Sharma
Guest
Posts: n/a
 
      11th Feb 2005
Hi
I want to change the color of the single row of a data grid.
Can some body tell me how it can be done

Regards
Saurabh Sharma


 
Reply With Quote
 
 
 
 
Ollie Riches
Guest
Posts: n/a
 
      11th Feb 2005
check out the DataGrid.Items property, it will return a collection of
DataGridItem objects. Each DataGridItem object has a BackColor property

HTH

Ollie Riches
"Saurabh Sharma" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi
> I want to change the color of the single row of a data grid.
> Can some body tell me how it can be done
>
> Regards
> Saurabh Sharma
>
>



 
Reply With Quote
 
Saurabh Sharma
Guest
Posts: n/a
 
      11th Feb 2005
Hi
Items property is useful when we add each entry as a seperate item. But in
my case I am adding it as a row with some colums.
So i want to know if it possible to change the properties of a row.

Saurabh

"Ollie Riches" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> check out the DataGrid.Items property, it will return a collection of
> DataGridItem objects. Each DataGridItem object has a BackColor property
>
> HTH
>
> Ollie Riches
> "Saurabh Sharma" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi
>> I want to change the color of the single row of a data grid.
>> Can some body tell me how it can be done
>>
>> Regards
>> Saurabh Sharma
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
transfer data from 3x15 grid to a single list? Roady Microsoft Excel Misc 3 18th Oct 2008 02:24 AM
Condition font color in a single cell based on its formula data. Bee Microsoft Excel Worksheet Functions 3 19th Feb 2008 12:09 AM
DataGrid - how to display single data row in many data grid rows? Rafal Microsoft Dot NET Framework Forms 0 30th Mar 2006 11:02 AM
Changing color of some columns in a Data Grid =?Utf-8?B?bWFydGlu?= Microsoft Dot NET Compact Framework 2 4th May 2004 03:32 PM
How can change the color of the Sort icon in Data Grid column Header? =?Utf-8?B?QW1hbG9ycGF2YW5hdGhhbiBZYWd1bGFzYW15KEFN Microsoft C# .NET 0 6th Feb 2004 02:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:19 PM.