I am trying to use a propertydescriptor to alter the color of a column in a
DataGrid. I have a button1 on the form that has a red color and I want to
copy this red color property (forecolor) to my DataGridTextBoxColumn.
However, it just ignores it.
Dim pdc As PropertyDescriptorCollection =
TypeDescriptor.GetProperties(Button1)
Dim c2 As DataGridTextBoxColumn = New DataGridTextBoxColumn(pdc.Find
("ForeColor", False))
Is this even possible?
--
Dennis in Houston