Results 1 to 2 of 2

Thread: Go back to the Color Code in Datagridview

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2010
    Posts
    2

    Go back to the Color Code in Datagridview

    Hello to all. I am new to the world of Vb.net and I have a problem that I cannot solve. I color the cells of a datagridview based on parameters. I wanted to know if it was possible to trace the color of a cell by code.
    Thanks

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,464

    Re: Go back to the Color Code in Datagridview

    What do you mean trace the color? You can find the BackColor of a cell…

    Code:
    Dim c as Color = DGV.Rows(index).Cells(index).Style.BackColor

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width