Category / Section
How to change the expander icon color of the Master-Details View in WinForms DataGrid (SfDataGrid)?
1 min read
In SfDataGrid, You can change the color of the expander icon of the master details view as given below.
typeof(DataGridStyle).GetProperty("DetailsViewExpanderColor", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).SetValue(this.sfDataGrid1.Style, Color.Red);
Take a moment to peruse the documentation, where you can find about Master Details view, with code examples.