Hi,
I am using Infragistics NedAdvantage 8.1, and I am wondering why there isn't any Office 2007 or Vista presets for the UltraGrid. On many of your other controls you have provided a style of Office 2007 or Vista?
Are you planning on providing this new preset?
Best Regards
Dennis Tycho Nielsen
I have read another place in the forum that you suggest the use of AppStyling. I have implemented AppStyling StyleSet in our application, but I don't think the appearance for grids looks as shown in the NetAdvantage AppStylist for Windows Forms? Do you have any suggestions on what might be wrong?
I need a Office 2007 look n feel too for the wingrid.Did you find any solution for you query yet ???
Thanks
No, I'm afraid they have overseen this post. I still have problems using AppStyling on grids so I might be a good idea to create a new post and hoping for a reply on that :-)
What exactly is the problem? When you say it doesn't look the same, what is the difference? What does it look like? Can you post screen shots?
Hi Mike,
Thanks for your reply.
I will try to describe my problems. When I realized that I could not use the desired preset with WinGrid's I chose to implement the use of Infragistics AppStylist for Windows Forms, in order to use the style I wanted.
Now to the problem. When I set up the layout using AppStylist I expect to see the same look on the grids when I run the application as was shown in AppStylist. But that does not seem to happen.
I have inserted the following line of code in the main Form constructor , in order to link up the StyleLayout file.
and the "UseAppStyling" property on the grid is set to "True".
Are there anything else that I have to set up, in order to use AppStyling on the grid? Are there any potential problems when loading user layouts into the grid?
I have attached a jpg file showing 2 screen shots. The above is shown when running the application and beneath showing the look in AppStylist. As you can see the Selector is not applied and the rowfilter is not applied.
Hi Dennis,
Well, you can save and load a preset to a file. I think the grid even has methods for this like SavePreset/LoadPreset. If I am wrong about that, then you would do it using the PresetSerializer class, instead.
Ok, thanks, I think I will create a preset instead.
Is it possible to load a preset into a grid dynamically, so that changes made to the after the grid was first created, also will be reflected in the grids later on?
The AppStylist Canvases are just there to allow you to see a preview of what the controls might look like. Nothing in the Options of a canvas will affect your application.
It sounds like what you are looking for is a Preset. The WinGrid supports the loading of Preset files which can affect both the look and behavior of the grid. You can create and manage presets in the grid designer.
Thanks. I just thought setting the canvas options for the grids in the AppStylist, would be reflected in the application when using the AppStyling. What I am looking for is a way to provide a general layout for all my grids, whatever datasource I'm using. Do you have any Best Practices on this matter? Do I have to Extend the UltraGrid control in order to add, the requested default behavior and look?
AppStylist only affects the look of the controls, it will never change functionality. If you want RowSelectors on the grid, you have to turn this on in your application. The same holds true for Row Filtering.
Row selectors are controlled by the RowSelectors property.
Row Filter is turned on with AllowRowFiltering and/or RowFilterUIType.