Skip to content

Commit 2ecb3f1

Browse files
committed
Adding dedicated brush key for content of InRibbonGallery
1 parent aaeb5fb commit 2ecb3f1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Fluent.Ribbon/Themes/Controls/InRibbonGallery.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@
449449
BorderBrush="{DynamicResource Fluent.Ribbon.Brushes.Control.Border}"
450450
BorderThickness="1 1 1 1"
451451
ClipToBounds="True">
452-
<Grid Background="{DynamicResource Fluent.Ribbon.Brushes.White}">
452+
<Grid Background="{DynamicResource Fluent.Ribbon.Brushes.InRibbonGallery.Content.Background}">
453453
<ScrollViewer x:Name="ScrollViewer"
454454
Style="{DynamicResource Fluent.Ribbon.Styles.ScrollViewer}"
455455
Fluent:ScrollViewerAttachedProperties.ScrollBarStyle="{DynamicResource Fluent.Ribbon.Styles.InRibbonGallery.ScrollBar}"

Fluent.Ribbon/Themes/Themes/Theme.Template.xaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@
179179

180180
<!-- Gallery -->
181181
<SolidColorBrush x:Key="Fluent.Ribbon.Brushes.Gallery.Header.Background" Color="{StaticResource Fluent.Ribbon.Colors.Gray3}" options:Freeze="True" />
182+
183+
<!-- InRibbonGallery -->
184+
<SolidColorBrush x:Key="Fluent.Ribbon.Brushes.InRibbonGallery.Content.Background" Color="{StaticResource Fluent.Ribbon.Colors.White}" options:Freeze="True" />
182185

183186
<!-- GalleryGroupContainer -->
184187
<SolidColorBrush x:Key="Fluent.Ribbon.Brushes.GalleryGroupContainer.Header.Background" Color="{StaticResource Fluent.Ribbon.Colors.Gray8}" options:Freeze="True" />

0 commit comments

Comments
 (0)