Articles in this section
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);

 

Expander Icon of the Master-Details View

 

View Sample in GitHub

Take a moment to peruse the documentation, where you can find about Master Details view, with code examples.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied