I have the following XAML code:
<TabItem Header="Hey there, handsome!">
<Canvas>
<GroupBox Header="30" Canvas.Top="40">
<Canvas>
<Label Canvas.Top="40">dawd</Label>
</Canvas>
</GroupBox>
</Canvas>
</TabItem>
I expect to see a GroupBox that is 40px from the top of the tab and inside the GroupBox a label that is 40px from its top.
But this happens:
What am I doing wrong and how can I solve it?
(All in all, I just need a layout panel for absolute positioning).