I am using AppStylist for WinForms. I have one parent Form and two child forms.
I am loading a style using Infragistics.Win.AppStyling.StyleManager.Load on the parent form.
First child is using UltraFromManager - everything looks nice, style is matching main window – silver
Second child is using UltraToolbarsManager and is not inheriting style loaded by main window – form is blue not silver.
Please see attached sample project.
Hello witepo,
Thanks for attached sample. I saw the mentioned behavior, but it is expected (by design). Our UltraToolbarManger inherite your style from the Form1, but please note that UltraToolbarManager didn`t modify your Form`s borders, captions and so on. That`s why you should use both controls - UltraToolbarManager and UltraFormManager. Please take a look at the modifications that I made into your sample and let me know if you have any questions.
Regards
Here is the sample
Thanks for your response. If you need any additional assistance, feel free to write us.
Thank you for reply.
When I was trying to add UltraFormManager to my form I was getting message : ‘UltraFormManager cannot be added to a form that is already being managed by another UltraFormManager or by an UltraToolbarsManager’
It turns out that I had to change Behaviour – DockWithContainer to ToolbarManager_Fill_Panel.ClientArea and then run UltraToolbarsmanager Initialization
After that I could add UltraFormManager to my form and it was using the same style as other forms.
Thank you for your help :D