April 16th, 2010, 08:58 AM
WPF Usercontrol not filling tabs
I'm having a WPF problem that I can't figure out. I have a WPF form that uses a dock panel with LastChildFill=True. The last control in there is a tab control.
In My code behind I am creating tabs inside the tab control and populating them with user controls. The problem I have is that the user control is not filling the tab vertically, horizantally it resizes with the screen but not vertically. Everything seems to be set to auto and stretch but it just loads at a fixed height.
Anyone have any suggestions?
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!