Is it possible to set the position alignment for a groupbox header in WPF? the default is to place in the top left corner of the groupbox outline but I would like it to be centered at the top. I know that you can set the properties of the text using:
<GroupBox Grid.Row="1" HorizontalAlignment="Center">
<GroupBox.Header>
<TextBlock Text="Cash Match" Foreground="Black" FontWeight="Bold"/>
</GroupBox.Header>
</GroupBox>
but i'm looking to set the position of it with respect to the groupbox outline.
thanks!