Can i add particular color for entire Row or Column in TableLayoutPanel ?
How ? please provide sample code if any ..
Thanks in adv.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes you can.
Use the TableLayoutPanel’s CellPaint event to test for which row/column has called the event and then use a Graphic object size to the rectangle to set the cell’s color.
Like this (for the first and third rows):