Sir,
I have set style of a UltraWinGrid column as Color. How to get the selected Color's RGB value from that cell.
Kindly help me in this regard
Is the underlying DataSource's type for that column also a color? If that is the case, you could just access the cell's Value and cast it to a Color. From there, you can access the R, G, and B properties. If it is stored as a string (i.e. the ToString of the color), then I don't think that there's a simple way to get that value back into a .NET color unless it is a known color, but you could parse that string for the A, R, G, and B values and create the color yourself.
-Matt
i have column with ColumnStyle.Color and then choose some color cell.Value = Color["ColorName"] or Color[A=, R=,G=,B=]. and so then cast it to a Color you take some color, but ARGB properties will be 0. How correct column properties to have a normal cell.value?
I want to take RGB properties to convert it in hex, maybe can make this right away?
PS: sorry for my English