How to set transparent BackColor for GridControl
9 Dec 2019 / 1 minute to read
Setting the transparent BackColor for a GridControl can be done easily with simple code.
//Sets up Transparent Background.
this.gridControl1.SupportsTransparentBackColor = true;
this.gridControl1.TransparentBackground = true;
//Sets Color for the Transparent Background.
this.gridControl1.Properties.BackgroundColor = Color.FromArgb(0, 1, 1, 1);
this.gridControl1.BackColor = Color.FromArgb(0, SystemColors.Window);
'Sets up Transparent Background.
Me.gridControl1.SupportsTransparentBackColor = True
Me.gridControl1.TransparentBackground = True
'Sets Color for the Transparent Background.
Me.gridControl1.Properties.BackgroundColor = Color.FromArgb(0, 1, 1, 1)
Me.gridControl1.BackColor = Color.FromArgb(0, SystemColors.Window)
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page