Is it possible to set position alignment for GroupBox Header in WPF? The default value is to place the GroupBox in the upper left corner, but I would like it to be centered at the top. I know that you can set text properties using:
<GroupBox Grid.Row="1" HorizontalAlignment="Center"> <GroupBox.Header> <TextBlock Text="Cash Match" Foreground="Black" FontWeight="Bold"/> </GroupBox.Header> </GroupBox>
But I want to set its position relative to the GroupBox contour.
alignment header wpf groupbox
ambog36
source share