DataGridView - ComboBox 作为 Header 单元格

DataGridView - ComboBox as Header Cell

我想要一个带有组合框的 DataGridView Headers。 DGV 总是有 2 列。我需要组合框以便 select 我填写的值的单位(例如,第一列将是秒、分钟、小时)。

我确实查找并尝试了以下条目中使用的版本:MSDN and Stack Overflow(基本上是相同的解决方案)

但我希望 Cell 像普通的 DataGridViewComboBoxCell 一样工作,我在代码的另一部分使用它

        DataGridViewComboBoxCell sensor = new DataGridViewComboBoxCell();
        sensor.DataSource = new String[] { "Kein Sensor", "KTY84", "PTC", "PT1000" };
        engineDataGrid.Rows[10].Cells["value"] = sensor;
        engineDataGrid.Rows[10].Cells["value"].Value = sensor.Items[0];

如何将我的普通 Versionen 与列 Headers 合并?

我最终使用的解决方案是一种变通方法,禁用列 header 并将第一行用作我的 header,按照我发布问题的方式对其进行编辑。使用边框样式进行一些编辑,它看​​起来就像原始 header 或更准确地说,我喜欢应用程序的 header 样式,但作为组合框。