• 0

[C# WPF] Adjusting width of TabItem


Question

Hello. I am new to WPF development and I have a question on TabItem.

I want to know what codes or what properties should be added to XAML, such that the sum of width of TabItem objects can be adjusted/ expended automatically to the width of Window?

For example, in Windows Media Player, when launched in normal size:

normalsize.png

And when window maximized:

maximized.png

You can notice that the width of TabItem objects on top (Now Playing, Library, Rip...etc) are adjusted automatically.

What properties can do what I want?

Thanks.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.