Skip to content

Commit be7f299

Browse files
committed
Small fix on samples
1 parent bce527d commit be7f299

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CommunityToolkit.WinUI.SampleApp/SamplePages/AcrylicBrush/AcrylicBrushXaml.bind

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@
2020
Grid.Column="2"
2121
Height="400">
2222
<Border.Background>
23-
<brushes:AcrylicBrush BackgroundSource="@[Source:Enum:AcrylicBackgroundSource.Backdrop]"
23+
<brushes:AcrylicBrush
2424
TintColor="@[Tint:Brush:DarkCyan]"
2525
TintOpacity="@[TintMix:DoubleSlider:0.2:0.0-1.0]"
2626
BlurAmount="@[BlurAmount:DoubleSlider:12:0.0-32.0]"
2727
TextureUri="ms-appx:///Assets/BrushAssets/NoiseTexture.png"/>
28+
<!-- BackgroundSource="@[Source:Enum:AcrylicBackgroundSource.Backdrop]" -->
2829
</Border.Background>
2930
</Border>
3031
</Grid>

CommunityToolkit.WinUI.SampleApp/SamplePages/Loading/LoadingCode.bind

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@
6363

6464
<controls:Loading x:Name="LoadingControl">
6565
<controls:Loading.Background>
66-
<brushes:AcrylicBrush BackgroundSource="Backdrop"
67-
TintColor="Black"
66+
<brushes:AcrylicBrush TintColor="Black"
6867
TintOpacity="@[Opacity:DoubleSlider:0.4:0.0-1.0]"
6968
BlurAmount="@[BlurAmount:DoubleSlider:8:0.0-24.0]"/>
69+
<!-- BackgroundSource="Backdrop" -->
7070
</controls:Loading.Background>
7171
<ContentControl x:Name="LoadingContentControl" />
7272
</controls:Loading>

0 commit comments

Comments
 (0)