We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Error Setting BrushInfo on Series.Style.Interior

Hi

I keep getting the following error when I set the BrushInfo for the Style.Interior on a Series that is a Line e.g.

bidSeries.Style.Interior = new BrushInfo(Color.Red);

The Error is:

Unable to cast object of type 'Syncfusion.Drawing.BrushInfo' to type 'Syncfusion.Drawing.BrushInfo'

Am I missing anything? Your examples show this and they are working.

Many Thanks

Tareq


2 Replies

TK Tareq Khan December 18, 2008 11:23 AM UTC

Hi Sorry

It appears that I had a version clash.

Regards

Tareq

>Hi

I keep getting the following error when I set the BrushInfo for the Style.Interior on a Series that is a Line e.g.

bidSeries.Style.Interior = new BrushInfo(Color.Red);

The Error is:

Unable to cast object of type 'Syncfusion.Drawing.BrushInfo' to type 'Syncfusion.Drawing.BrushInfo'

Am I missing anything? Your examples show this and they are working.

Many Thanks

Tareq





MA Manohari Syncfusion Team December 19, 2008 03:00 PM UTC

Hi Tareq,

Thanks for the update. We are glad that your problem has been resolved. However, feel free to contact us if you have any other concerns.

Thanks for your interest in syncfusion products.

Regards,
Manohari.R


Loader.
Live Chat Icon For mobile
Up arrow icon