Open IceReaper opened 1 year ago
Example: tabs.
What you see now is a messed up layout in tab1 (currently active) When you switch to tab2, and back to tab1, the layout is correct.
When using the MML approach, the content is build fully first, then added to the tab control, which causes a layouting at that point.
Workaround: First build up all content stuff, and afterwards assign the tabItem to the tabControl.
Example: tabs.
What you see now is a messed up layout in tab1 (currently active) When you switch to tab2, and back to tab1, the layout is correct.
When using the MML approach, the content is build fully first, then added to the tab control, which causes a layouting at that point.
Workaround: First build up all content stuff, and afterwards assign the tabItem to the tabControl.