I have to report the color scheme which we use in our app to a sister company which willd esign something different (not with infragistics). They asked me about which colors are used for certain elements.
Now, I want to somehow find this information in the ISL file or in the AppSylist or even during runitme of the App, but I cannot figure out how. Furthermore, e.g. the UltraGroupBox seems to have a gradient filling when switched to "Office 2007" e.g., but in the AppStylist the same style seems to have a solid filling.
All attributes in Appereance show "Default", and also during runtime I cannot access the used colors and fill styles. Any idea?
regards Florian
I answered a very similar question this morning here: Accessing a colour in a style resource - Infragistics Community
If you want to get appearances from a control on a form, then that actually might be easier for you. Basically any WinForms control that has appearances will typically have a method on the control which allows you to resolve that appearance. For example, in the WinGrid, there is a ResolveCellAppearance method which will resolve all of the appearance and AppStyling data and return to an AppearanceData with the actual on-screen colors and appearance properties on a cell.
Mike,
found myself something here: http://forums.infragistics.com/forums/p/24233/88854.aspx#88854 - with Reflection, I am a bit further now, getting the gradientstyle already. So lets see. thanks for the moment!
florian