我正在将一些旧的数据网格映射转换为Plate中的Devex,并且遇到了将DataGridViewCheckBoxColumn转换为GridControl / GridView devex版本的问题。
这是需要转换的列的代码:
DataGridViewColumn cbColumn = new DataGridViewCheckBoxColumn();
cbColumn.DataPropertyName = "IsIncluded";
cbColumn.HeaderText = "Include Modulation?";
cbColumn.Name = "incModcodDataGridViewTextBoxColumn";
cbColumn.SortMode = DataGridViewColumnSortMode.Automatic;
cbColumn.ReadOnly = false;
m_acmCodebookModCodAssocDefaultMapping.Add(cbColumn);
列标题也需要保留其标题,因此我不能使用OptionsSelection.MultiSelect