The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have a situation where I am using a TabbedMDIManager and I want to replace an MDI child Form in a tab. That is, assuming I have multiple tabs visible and the selected tab is the 2nd one. Based on some user action, I want to replace the MDI child Form in that 2nd tab with a different MDI child Form.
The best I could come up with is to close the 2nd (active) tab, create the new Form, set its MDIParent = this, Show() the new child Form, and then move the new tab to the 2nd tab position.
This works, but there is all sorts of flashing that occurs because what happens is that updates occur when the old tab is closed (some other tab becomes selected and focused), and then the new MDI child Form gets added and given focus.
What I''d like to do is somehow defer these updates. I''ve tried calling SuspendLayout()/ResumeLayout() on the TabbedMDIManager and the contained MDITabPanel objects, but this doesn''t seem to make any difference.
Any idea on how to accomplish this with a minimal amount of flickering?