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.
When i choose transparent color from a color edit the framework throws an exception saying that this color is not supported by the control.
To solve this i set
this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
But even then i get a error...How do i fix this
ADAdministrator Syncfusion Team February 24, 2005 09:30 AM UTC
The GridControl has a public property that allows this,
this.gridControl1.SupportsTransparentBackColor = true;
The GridDataBoundGrid does not. But as indicated, you can derive the GridDataBoundGrid and set a style property in the constructor to enable this.
public class MyGridDataBoundGrid : GridDataBoundGrid
{
public MyGridDataBoundGrid() : base()
{
this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
}
}
But if you are trying to use TransparentBackColor in an editing cell control, this is not supported as this control is based on a RichTextBox that does not support transparency.