Merge RTL Datagridview columns header in C#
问题 I want to merge 3 Datagridview columns headers (the 3rd, 4th, and the 5th columns) and the RightToleft property of the Datagridview is enabled. i user this code: private void PromotionButton_Click(object sender, EventArgs e) { dataGridView1.ColumnHeadersHeight = dataGridView1.ColumnHeadersHeight * 2; dataGridView1.ColumnHeadersDefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; dataGridView1.CellPainting += new DataGridViewCellPaintingEventHandler(dataGridView1