BaseStylesMap Question

What would I put in the following code to get at all cells...I mean header cells and then the actual grid cells...

objGrid.BaseStylesMap("Standard").StyleInfo.Font.Size

That gets at the cells the data is in and not header cells. If I use "Column Header" then it does just header. Is there one I can put in that will do the whole grid?




1 Reply

FS Fathima Shalini P Syncfusion Team February 8, 2008 08:43 AM UTC

Hi Phil,

Thank you for your interest in Syncfusion Products.

I am afraid I was not able to reproduce the issue mentioned here. Please find the code snippet that I tried to reproduce this:


Me.gridControl1.BaseStylesMap("Standard").StyleInfo.Font.Size = 8f
Me.gridControl1.BaseStylesMap("Standard").StyleInfo.Font.Italic = True
Me.gridControl1.BaseStylesMap("Standard").StyleInfo.Font.Underline = True


Please find the simple sample that illustrates this in following link:
http://websamples.syncfusion.com/samples/Grid.Windows/F71634/main.htm

I tested this with v6.1.0.34. Could you please let me know the version that you are using? If I have misunderstood your requirement, could you please explain me in detail, so that I can work in depth and try to send a better solution?

Please let me know if any concerns.

Regards,
Fathima


Loader.
Up arrow icon