I have a MDI application with a structure similar to Visual Studio. I have been setting different styles in code by using the ViewStyle, ToolbarStyle and the UltraExplorerBarViewStyle properties. But I have just started playing around with the AppStylist for WinForms. i have embedded the *.isl files in the app and load them with a resource stream. This is cool stuff, I am really satisfied with how this styles the application.
My first question is, do you still set the style properties along with loading the AppStylist .isl files or do you just use the AppStylist alone.I would like to use the new Windows Vista ToolbarStyle also but am unsure as what other settings need to be set to get the Windows Vista look and feel. Can you give me some quick tips?
Steve Graddy MCP, MCAD.NetOrgbrat Consulting
Hi Steve,
Steve Graddy said:My first question is, do you still set the style properties along with loading the AppStylist .isl files or do you just use the AppStylist alone.
You probably don't need to do both. By default, the AppStylist settings will overide the properties on the individual controls. This can be changed by setting the ResolutionOrder property on the Component role for the control in AppStylist, but it's not neccessary.
Steve Graddy said:I would like to use the new Windows Vista ToolbarStyle also but am unsure as what other settings need to be set to get the Windows Vista look and feel. Can you give me some quick tips?
Do you mean just for the toolbar or for other controls? Setting the Style on the toolbar should be sufficient for the toolbar. There's also a DisplayStyle on the UltraWinTree you can set.
Hi Mike,
I would like to take advantage of the Vista look and feel on any Infragistics control used in the application that can use a Windows Vista style setting..
So far, only Toolbars and Tree expose WindowsVista style through AppStylist. You can also set ButtonStyle on any UI Role to WindowsVistaButton.
The only other controls that support WindowsVista style are the editor controls like UltraTextEditor. At the moment, these are not available through AppStylist, but this seems like something of an oversight that should probably be corrected. You should Submit an incident to Infragistics Developer Support regarding the editors, so they can get it corrected.
We've just started playing with the AppStylist in conjunction with the new Progress Software development studio and we really like it. However, we had the same question regarding the "Vista" style. I downloaded an eval of the current AppStylist and it still didn't appear to allow this, are there any plans to do so?
Thanks,
Chuck Bensinger
Osprey Retail Systems, Inc.
Hi Chuck,
There are a number of things discussed here. Which one, specifically, are you looking for?
It look s like the Editor controls still do not have WindowsVista style exposed through AppStylist. Perhaps the original poster here never reported the issue or else it was deemed not to be a bug. I can't really be sure. You shoud probably Submit an incident to Infragistics Developer Support and see if they can find any information on the issue.
That depends which controls you are looking at. ToolbarsManager and Tree have Vista display styles. The buttons have a ButtonDisplayStyle property which supports a Vista style. It looks like the editor controls still don't expose this through application styling. I'm not sure why that is. You should Submit an incident to Infragistics Developer Support and see if they can follow up on whether this issue was ever submitted to them and what the results were.
When trying to set a style on the controls there are quite a few options; but the "vista" style doesn't appear to be one that is accessible via the AppStyler.