korasoglu Posted February 6, 2022 Share Posted February 6, 2022 Hayırlı günler; Arkadaşlar tıklanan satırın height nasıl değiştirebilirim Quote Link to comment Share on other sites More sharing options...
By_FaRuK Posted February 6, 2022 Share Posted February 6, 2022 DataGridView'ın CellFormatting eventına yazıp aşağıdaki örnekteki gibi özelleştirebilirsiniz. var dataGridView = sender as DataGridView; if (dataGridView.Rows[e.RowIndex].Selected) { e.CellStyle.Font = new Font(e.CellStyle.Font, FontStyle.Bold); e.CellStyle.SelectionBackColor = Color.LightBlue; e.CellStyle.SelectionForeColor = Color.Black; } 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.