<Tabcontrol and Canvas
Posted
by prajor
on Stack Overflow
See other posts from Stack Overflow
or by prajor
Published on 2010-05-05T04:00:01Z
Indexed on
2010/05/05
4:08 UTC
Read the original article
Hit count: 230
Hello, I have following situation
<stackpanel >
<ViewBox height=25/ >
<tabcontrol>
<tabitem>
<Canvas />
</tabitem>
</tabcontrol>
</stackpanel>
Q1. I want stackpanel to fill the screen, tabcontrol to fill the remain portion after viewbox. How do I do that ? How do I avoid the tabcontrol shrinking based on the size of tab items. Q2. I want the canvas restricted to the tabitem size. Currently I put anything in the canvas and scorll it goes beyond the tab item. Any idea how to control this.
© Stack Overflow or respective owner