Home Forums WinForms controls Xceed Grid for WinForms Back color of TreeLine region Reply To: Back color of TreeLine region

User (Old forums)
Post count: 23064

When setting the BackColor of a DataRow which has a DetailGrid attached to it, the SideMargin.BackColor of the DetailGrid will be changed to the same color as the master row. If you want to SideMargin to be of another color, you will need to set the SideMargin.BackColor property.

This is because the grid offers properties which are ambient, that is, if a property is not explicitly set, it will take the value of its parent, if the parent has been explicitly set. Here is a topic form our online help documentation which gives more details on ambientness :

<a href=”http://doc.xceedsoft.com/products/gridNET/doc/sources/ambient_properties.htm”>http://doc.xceedsoft.com/products/gridNET/doc/sources/ambient_properties.htm</a&gt;

Imported from legacy forums. Posted by André (had 2874 views)