I have an MDI form embedded in a panel on a tab page. When my app is resized, I need to resize the MDI form. I am using the TabPageResized event of the UltraTabControl and it does the job. However, the event fires many, many times causing my code to run over and over again resulting in poor performance. I'm wondering if this is the best event to use and what triggers this event to fire.
This bug has been reported and fixed. However, I'm not sure if the hotfix has been released yet. You can try downloading the latest hotfix or you can contact the support group and reference issue BR33227 to determine if the hotfix has been released: http://ko.infragistics.com/gethelp.
The dockstyle for the form is set to FILL. The problem is that the tab page resize event fires over and over again and this forces the contained form to repaint over and over again because it is trying to fill the tab page. I have the ribbon and appstyling enabled throughout my project. I am noticing that as I change the ribbon's contents in code, the screen tends to shift left to right just slightly. This seems to trigger a cascade of resize events thoughout my program. Has anybody else reported this type of stuff? I love the ribbon and the appstylist, but I am seeing a ton of repainting that is slowing down my app considerably as a result.
The best way to get the contained Form to resize with the pabe page is to set it Anchor or Dock properties.