Is there any way to set the default background of a form to be 'styled' with app stylist. I have some forms where I ahve placed the infragistic controls on them and they are of course styled but the background remains the standard color.
I am trying to find a way to get the background styled.
Thanks
In order for AppStylist to affect non-Infragistics controls, you have to place an InboxControlStyler on your form.
I have placed an InboxControlStyler on the form, but the form background stays control grey, whereas the background for an infragistics control is light blue.
Have you applied a BackColor to forms in your ApplicationStyleLibrary (isl) file?
Hi
You seemed to have solved pmoran's issue but I don't quite understand the solution. What steps are required to style the background of a Form?
Thanks,
Mike
There are basically 2 things you have to do.
1) Place an InboxControlStyler on the form. AppStylist can style the Infragistics controls without any help, but it needs this component in order to style Inbox controls like forms, buttons, text boxes, etc.
2) Set the BackColor property on the Component Role for the form in your Applicaiton Style Library. If you open up an isl file in AppStylist, the role tree on the left has a section for Component Roles. Under that you will see Inbox Controls. And under that is a list of controls, one of which is Form (or maybe it's Windows Form). So you can select that and then set the properties on it.
I guess the third step is to use the StyleManager and load the isl into the actual application at run-time.