TextColor in styles
Good day,
Your documentation offers an example to change the defaults on the base styles. It shows changing the "TextColor" property. However, I cannot find that property on the GridStyleInfo class:
http://www2.syncfusion.com/cref_63/-4-1-index.aspx
GridStyleInfo standard = model.BaseStylesMap["Standard"].StyleInfo;
standard.TextColor = Color.FromArgb(0, 21, 84);
TextColor isn't a property of GridStyleInfo.. am I missing something? :)
Your documentation offers an example to change the defaults on the base styles. It shows changing the "TextColor" property. However, I cannot find that property on the GridStyleInfo class:
http://www2.syncfusion.com/cref_63/-4-1-index.aspx
GridStyleInfo standard = model.BaseStylesMap["Standard"].StyleInfo;
standard.TextColor = Color.FromArgb(0, 21, 84);
TextColor isn't a property of GridStyleInfo.. am I missing something? :)
SIGN IN To post a reply.
3 Replies
AD
Administrator
Syncfusion Team
July 16, 2008 01:43 PM UTC
There are 2 GridStyleInfo classes, one in the Windows Forms namespace, SyncFusion.Windows.Forms.Grid, and one in the WPF namespace, Syncfusion.Windows.Controls.Grid. The class reference entry you noted is from the mature, fully populated Windows Forms GridStyleInfo.
We are still adding properties in the WPF GridStyleInfo. So, for now, there are only limited cell properties in the WPF GridStyleInfo. More are coming including support for fonts, colors, etc.
We are still adding properties in the WPF GridStyleInfo. So, for now, there are only limited cell properties in the WPF GridStyleInfo. More are coming including support for fonts, colors, etc.
FM
Ferenc Molnar
July 16, 2008 02:14 PM UTC
Hi,
My link might have been wrong, but if you look at those 2 pictures, it will explain it better:
http://cid-9eeb57eb098c0598.skydrive.live.com/self.aspx/Images/WPFGrid1.JPG
http://cid-9eeb57eb098c0598.skydrive.live.com/self.aspx/Images/WPFGrid2.JPG
We are currently looking to use a WPF based grid for a new version of our interface and being able to lock rows/columns and joining cells is a must for us (which your grid supports). So we are trying to figure out if we can work in additional features we need into your grid. However, it being in "beta" at this time adds a bit of uncertainy versus your competitors, but I am going ahead with a try-out.
Thank-you for your replies :)
My link might have been wrong, but if you look at those 2 pictures, it will explain it better:
http://cid-9eeb57eb098c0598.skydrive.live.com/self.aspx/Images/WPFGrid1.JPG
http://cid-9eeb57eb098c0598.skydrive.live.com/self.aspx/Images/WPFGrid2.JPG
We are currently looking to use a WPF based grid for a new version of our interface and being able to lock rows/columns and joining cells is a must for us (which your grid supports). So we are trying to figure out if we can work in additional features we need into your grid. However, it being in "beta" at this time adds a bit of uncertainy versus your competitors, but I am going ahead with a try-out.
Thank-you for your replies :)
AD
Administrator
Syncfusion Team
July 16, 2008 02:26 PM UTC
You are correct about the docs. Sorry.
But they are premature in that currently there is no TextColor property in GridStyleInfo. I think the /// comments (used to generate the docs) on those classes were copied from similar classes in the Windows Forms code, and have not been edited yet for consistency as we are still adding features which eventually would make the /// match the class in this case.
But they are premature in that currently there is no TextColor property in GridStyleInfo. I think the /// comments (used to generate the docs) on those classes were copied from similar classes in the Windows Forms code, and have not been edited yet for consistency as we are still adding features which eventually would make the /// match the class in this case.
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
FM Ferenc Molnar
- Jul 16, 2008 01:35 PM UTC
- Jul 16, 2008 02:26 PM UTC