In WPF, how do I get the content of a tabItem to fill available space? -


I do not know what I'm doing wrong here. In XAML below, the border does not fill the available tab on tab idam (just a lot of white space). How do I fill the entire tab page?

  & lt; TabControl & gt; & Lt; TabItem Header = "Plant State" & gt; & Lt; Border background = "rad" vertical alignment = "statchch" horizontal alignment = "statch" & gt; & Lt; / Border & gt; & Lt; / TabItem & gt; & Lt; / TabControl & gt; With the help of Matt Hamilton I have figured out that I  

this really works fine If you are using regular tab control (default template)

I am using a xaml "subject" that changes the default control template. This layout is failing, so I have to check and what will be wrong.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -