The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Ok, stupid question of the day #15. When setting the color of AnyCell for a GGC, it''s overriding the GridGroupingControl.BackColor. All other colors are correct.
Basically, I''m doing the following:
this.GridGroupingControl.Appearance.ColumnHeaderCell.Themed = false;
this.GridGroupingControl.Appearance.ColumnHeaderCell.BackColor = this.headerBackColor1;
this.GridGroupingControl.Appearance.GroupCaptionCell.Themed = false;
this.GridGroupingControl.Appearance.GroupCaptionCell.BackColor = this.headerBackColor2;
this.GridGroupingControl.Appearance.AlternateRecordFieldCell.BackColor = this.altRowBackColor;
this.GridGroupingControl.Appearance.AnyCell.BackColor = this.rowBackColor;
this.GridGroupingControl.BackColor = this.gridBackColor;
The GridGroupingControl.BackColor is always the same as the this.GridGroupingControl.Appearance.AnyCell.BackColor.
Thanks,
ADAdministrator Syncfusion Team July 25, 2005 01:16 PM UTC
Do not set the AnyCell property. Instead try setting these properties to see if this does what you want.
this.gridGroupingControl1.BackColor = Color.Red;
this.gridGroupingControl1.Appearance.RecordFieldCell.BackColor = Color.Green;
this.gridGroupingControl1.Appearance.AlternateRecordFieldCell.BackColor = Color.Blue;
JSJohn Slater July 25, 2005 01:51 PM UTC
Worked perfectly, thanks.
>Do not set the AnyCell property. Instead try setting these properties to see if this does what you want.
>
>this.gridGroupingControl1.BackColor = Color.Red;
>this.gridGroupingControl1.Appearance.RecordFieldCell.BackColor = Color.Green;
>this.gridGroupingControl1.Appearance.AlternateRecordFieldCell.BackColor = Color.Blue;
>