|
25 | 25 | <Grid.RowDefinitions>
|
26 | 26 | <RowDefinition/>
|
27 | 27 | <RowDefinition/>
|
| 28 | + <RowDefinition/> |
28 | 29 | </Grid.RowDefinitions>
|
29 | 30 |
|
30 | 31 | <smtx:XamlDisplay Key="groupbox_1" Grid.Column="0" Grid.Row="0">
|
|
53 | 54 | </GroupBox>
|
54 | 55 | </smtx:XamlDisplay>
|
55 | 56 |
|
| 57 | + |
56 | 58 | <smtx:XamlDisplay Key="groupbox_5" Grid.Column="1" Grid.Row="1">
|
| 59 | + <GroupBox Header="Custom Header" Style="{DynamicResource MaterialDesignGroupBox}" Margin="16" |
| 60 | + materialDesign:ColorZoneAssist.Mode="Custom" materialDesign:ColorZoneAssist.Background="Black" materialDesign:ColorZoneAssist.Foreground="White"> |
| 61 | + <TextBlock>My Content</TextBlock> |
| 62 | + </GroupBox> |
| 63 | + </smtx:XamlDisplay> |
| 64 | + |
| 65 | + <smtx:XamlDisplay Key="groupbox_6" Grid.Column="0" Grid.Row="2"> |
57 | 66 | <GroupBox Header="Card Group Box" Style="{DynamicResource MaterialDesignCardGroupBox}" Margin="16">
|
58 | 67 | <GroupBox.HeaderTemplate>
|
59 | 68 | <DataTemplate>
|
|
67 | 76 | </GroupBox>
|
68 | 77 | </smtx:XamlDisplay>
|
69 | 78 |
|
70 |
| - <smtx:XamlDisplay Key="groupbox_6" Grid.Column="2" Grid.Row="1"> |
71 |
| - <GroupBox Header="Custom Header" Style="{DynamicResource MaterialDesignGroupBox}" Margin="16" materialDesign:ColorZoneAssist.Mode="Custom" materialDesign:ColorZoneAssist.Background="Black" materialDesign:ColorZoneAssist.Foreground="White"> |
72 |
| - <TextBlock>My Content</TextBlock> |
73 |
| - </GroupBox> |
74 |
| - </smtx:XamlDisplay> |
| 79 | + |
| 80 | + <smtx:XamlDisplay Key="groupbox_7" Grid.Column="1" Grid.Row="2"> |
| 81 | + <GroupBox Header="Card Group Box Accent" Style="{DynamicResource MaterialDesignCardGroupBox}" Margin="16" |
| 82 | + materialDesign:ColorZoneAssist.Mode="Accent"> |
| 83 | + <GroupBox.HeaderTemplate> |
| 84 | + <DataTemplate> |
| 85 | + <StackPanel Orientation="Horizontal"> |
| 86 | + <materialDesign:PackIcon Kind="ImageArea" Height="32" Width="32" VerticalAlignment="Center" /> |
| 87 | + <TextBlock Margin="8,0,0,0" VerticalAlignment="Center" Style="{StaticResource MaterialDesignSubtitle1TextBlock}" Text="{Binding}"/> |
| 88 | + </StackPanel> |
| 89 | + </DataTemplate> |
| 90 | + </GroupBox.HeaderTemplate> |
| 91 | + <Image Source="Resources/Contact.png" VerticalAlignment="Center" HorizontalAlignment="Center" /> |
| 92 | + </GroupBox> |
| 93 | + </smtx:XamlDisplay> |
| 94 | + |
| 95 | + <smtx:XamlDisplay Key="groupbox_8" Grid.Column="2" Grid.Row="2"> |
| 96 | + <GroupBox Header="Card Group Box Custom" Style="{DynamicResource MaterialDesignCardGroupBox}" Margin="16" |
| 97 | + materialDesign:ColorZoneAssist.Mode="Custom" materialDesign:ColorZoneAssist.Background="Black" materialDesign:ColorZoneAssist.Foreground="White"> |
| 98 | + <GroupBox.HeaderTemplate> |
| 99 | + <DataTemplate> |
| 100 | + <StackPanel Orientation="Horizontal"> |
| 101 | + <materialDesign:PackIcon Kind="ImageArea" Height="32" Width="32" VerticalAlignment="Center" /> |
| 102 | + <TextBlock Margin="8,0,0,0" VerticalAlignment="Center" Style="{StaticResource MaterialDesignSubtitle1TextBlock}" Text="{Binding}"/> |
| 103 | + </StackPanel> |
| 104 | + </DataTemplate> |
| 105 | + </GroupBox.HeaderTemplate> |
| 106 | + <Image Source="Resources/Contact.png" VerticalAlignment="Center" HorizontalAlignment="Center" /> |
| 107 | + </GroupBox> |
| 108 | + </smtx:XamlDisplay> |
75 | 109 | </Grid>
|
76 | 110 | </UserControl>
|
77 | 111 |
|
|
0 commit comments