原文:http://www.cnblogs.com/hnxxcxg/archive/2010/05/24/2940711.html
动态设置和访问cxgrid列的Properties
设置:
cxGrid1DBTableView1Column.PropertiesClass = TcxTextEditProperties;
cxGrid1DBTableView1Column.PropertiesClass = TcxDateEditProperties; cxGrid1DBTableView1Column.PropertiesClass = TcxCalcEditProperties; cxGrid1DBTableView1Column.PropertiesClass = TcxCheckboxProperties; 等 访问: cxGrid1DBTableView1Column.Properties as TcxTextEditProperties cxGrid1DBTableView1Column.Properties as TcxDateEditProperties; cxGrid1DBTableView1Column.Properties as TcxCalcEditProperties;