Hello members!
I have a list with parent and multiple child levels. I have defined all layouts and the data is shown. So far so good. The problem I have is, that the background Color (blue) of the child band and the foreground Color (black) make the label hard to read.
How can I change the background Color?
Thank you
CAS-206296-T4K0S_CustomerModified.rar
Hello Divya!
Attached please find the modified example. We use version 18.1.20181.176. During the modification i found out that the setting ExpandableFieldRecordHeaderDisplayMode="AlwaysDisplayHeader" is responsible for the blue background. But it's a customer requirement to show the header information of the nested group.
Andreas
Hello Andreas,
Thank you for the update. This blue color is coming through borderBackgroundHighlight element of office 2013 so you have to use its key and update the color in the grid resource, something like this:
<igDP:XamDataGrid.Resources> <Style TargetType="{x:Type igDP:ExpandableFieldRecordPresenter}" BasedOn="{x:Static igTheme:DataPresenterOffice2013.ExpandableFieldRecordPresenter}"> <Style.Resources> <SolidColorBrush Color="Red" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type igDP:XamDataGrid}, ResourceId=LabelHighlight}" /> </Style.Resources> </Style> </igDP:XamDataGrid.Resources>
For now I put in the red color , you can update it as per your requirement.
-Divya Jain