Rama Tito
asked on
How to change border line color.
Hi, Currently by default the border of datagirdview is white. My question are
1) How do i change the entire border color for my datagridview
2) On selected cell i wants the border to be different color.
1) How do i change the entire border color for my datagridview
2) On selected cell i wants the border to be different color.
ASKER
Hi solution for no.1, manage to solve. No 2, I get the particular cell index, but did not get property to change border colour.
ASKER
Hi solution for no.1, manage to solve. No 2, I get the particular cell index, but did not get property to change border colour.
ASKER
Hi solution for no.1, manage to solve. No 2, I get the particular cell index, but did not get property to change border colour.
ASKER
Hi solution for no.1, manage to solve. No 2, I get the particular cell index, but did not get property to change border colour.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It's help me but still i didn't get what i want. I will post a screen shot on new post.
http://msdn.microsoft.com/en-us/library/ehz9ksfa.aspx
2) Create a event on SelectedIndexChange, in the eventhandler, get the selected cell and use the cell's property to change the style.
http://stackoverflow.com/questions/404651/how-to-get-a-specific-cell-in-a-datagridview-on-selection-changed