在devex中添加带有标题标题的复选框列

时间:2019-01-10 17:18:24

标签: c# visual-studio devexpress

我正在将一些旧的数据网格映射转换为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

Column that needs to be converted to Devex

0 个答案:

没有答案