Home › Forums › WinForms controls › Xceed Grid for WinForms › Vista Style Grid
-
AuthorPosts
-
#14835 |
Is is possible we can get a vista style for this grid or at least point me to some documentation to where I can create the style myself? I saw in the documentation how you can apply a stylesheet to a grid but nowhere did it go over how to create your own stylesheet….
Thanks,
– jvImported from legacy forums. Posted by jvelite (had 4049 views)
Hi,
We are working on Vista styles for the next upcoming release. You can also do it yourself, but in this case we’re probably going to save you the trouble. Can you post a description of what you really need? (a screenshot will be fine too). A “Vista style” can be interpreted a little differently depending on who you ask…
Odi
Imported from legacy forums. Posted by Odi [Xceed] (had 271 views)
I would be happy to post a screenshot of the exact style I’m trying to incorporate…. how can i do that though? =)
Imported from legacy forums. Posted by jvelite (had 502 views)
I found a code sample to add a stylesheet programmatically and it is really nice. However, the basic background image for the header row does not work with images!….
Here is what I’m using:
Public Class XceedVistaGridStyleSheet
Inherits StyleSheetPublic Sub New()
Dim ImagePath As String = Application.StartupPath
ImagePath = ImagePath.Replace(“\bin\Debug”, “”)
ImagePath = ImagePath + “\XceedStyleSheetImages\”Me.ColumnManagerRow.BackgroundImage = Image.FromFile(ImagePath + “ColumnHeaderBackground.jpg”)
Me.ColumnManagerRow.BackgroundImageAlignment = ContentAlignment.TopLeft
Me.ColumnManagerRow.BackgroundImageStyle = ImageStyle.StretchEnd Sub
End ClassIf I add a data row and do the same properties the image shows up fine for every row… but nothing works w/the columnmanagerrow.backgroundimage properties…
Imported from legacy forums. Posted by jvelite (had 436 views)
These forums don’t let you post screenshots, the pictures have to be hosted somewhere on the internet and then link to them. To save you the trouble, you can email me any screenshots directly:
Send them to: KosmatosO@xceedsoft.com
Imported from legacy forums. Posted by Odi [Xceed] (had 467 views)
It most likely that the UIStyle property of the GridControl is not set to WindowsClassic. Thus the WindowsXP theming is painted over your image.
Imported from legacy forums. Posted by André (had 4880 views)
-
AuthorPosts
- You must be logged in to reply to this topic.