How to set transparent BackColor for GridControl
11 Jun 20211 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)