GroupBox Header with mixed content : GroupBox « Windows Presentation Foundation « C# / C Sharp






GroupBox Header with mixed content

GroupBox Header with mixed content
            

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      HorizontalAlignment="Center" VerticalAlignment="Center">
<GroupBox>
  <GroupBox.Header>
    <StackPanel Orientation="Horizontal">
      <TextBlock Text="A" FontStyle="Italic" VerticalAlignment="Center" />
      <TextBlock Text="B" VerticalAlignment="Center" />
      <Ellipse Fill="Red" Width="20" Height="60" />
      <TextBlock Text="C" VerticalAlignment="Center" FontWeight="Bold" />
      <Button Content="_header" VerticalAlignment="Center" />
    </StackPanel>
  </GroupBox.Header>
  <TextBlock Text="Boring content" />
</GroupBox>
</Page>

   
    
    
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.GroupBox DemoGroupBox Demo