Reputation: 73
As the title say, I need to know how can I set a specific header height for a GroupBox, suppose I've this:
<GroupBox Header="Test">
</GroupBox>
this will display an header height based on the content of the header, but is possible also set a specific header height? How? Thanks.
Upvotes: 0
Views: 2055
Reputation: 5666
Instead of using a string for setting the GroupBox
Header
property, use directly a TextBlock
, something like that:
<GroupBox>
<GroupBox.Header>
<TextBlock Text="High Header" VerticalAlignment="Bottom" MinHeight="100" />
</GroupBox.Header>
<Button Content="Button1" />
</GroupBox>
Upvotes: 1