Same size for all TabItem in TabControl

This seems like a simple problem, but I could not figure out how to do this.

I have an internal TabControl window with two TabItem. One of the TabItem has fixed-size content, and the other TabItem content changes in user mode.

I do not want to set the size of the window attached to the largest content.

I want the window to expand and contract by the user of the mode, but when the user selects the mode, I want both bookmarks to be the same size.

The TabControl HorizontalElignment was set to Streach. This did not help, because the width of the window itself changes in content. Is there a way to set TabItem to a smaller size and bind to Larger? Or maybe another solution?

+3
source share

All Articles