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.
Unfortunately, activation email could not send to your email. Please try again.

Transparent Virtual Grid Cell generate exception

Thread ID:

Created:

Updated:

Platform:

Replies:

61496 May 28,2007 02:57 AM May 28,2007 05:28 AM Windows Forms 1
loading
Tags: GridControl
Faheem Rauf
Asked On May 28, 2007 02:57 AM

Hi, I am working on Virtual Grid. One cell of the grid has the cell type Color Picker. Now whenever I select the Transparent color of the cell it generate the Exception. Please can you guide me how can I over come this issue. Secondly when I set the font family of the cell “Sana FB Demi”, “Brush Script NT” it generate the exception. Plz guide me regarding this issue. I will be thankful to you.
Regards,

Administrator [Syncfusion]
Replied On May 28, 2007 05:28 AM

Hi Ali,

Now whenever I select the Transparent color of the cell it generate the Exception. Please can you guide me how can I over come this issue.
Answer:
~~~~~
The GridControl has a public property that allows transparent color.

this.gridControl1.SupportsTransparentBackColor = true;


Secondly when I set the font family of the cell “Sana FB Demi”, “Brush Script NT” it generate the exception
Answer:
~~~~~
You can set the Font properties like:



System.Drawing.Font font = someFontYouHaveCreated;



//use this font in cell 2,2

this.grid[2,2].Font.FontStyle = font.FontStyle;

this.grid[2,2].Font.Size = font.SizeInPoints;

this.grid[2,2].Font.FaceName = font.Name;


Kindly let us know if you need any further assistance.

Best Regards,
Jeba.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;