Skip to content

Commit

Permalink
Mica 笔刷添加高斯模糊选项
Browse files Browse the repository at this point in the history
  • Loading branch information
wherewhere committed Jul 12, 2024
1 parent 1c7c65d commit 4fc9bea
Show file tree
Hide file tree
Showing 3 changed files with 340 additions and 248 deletions.
6 changes: 6 additions & 0 deletions MicaDemo/Pages/MicaPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<media:BackdropMicaBrush
x:Name="BackdropBrush"
AlwaysUseFallback="{Binding IsChecked, ElementName=AlwaysUseFallback, Mode=OneWay}"
Amount="{x:Bind Amount.Value, Mode=OneWay}"
BackgroundSource="{x:Bind Provider.SelectSource, Mode=OneWay}"
FallbackColor="{Binding TintColor, RelativeSource={RelativeSource Mode=Self}}"
LuminosityOpacity="{x:Bind LuminosityOpacity.Value, Mode=OneWay}"
Expand Down Expand Up @@ -219,6 +220,11 @@
SmallChange="0.001"
StepFrequency="0.001"
Value="1" />
<Slider
x:Name="Amount"
Header="Amount"
Maximum="100"
Value="0" />
<ComboBox
x:Name="BackgroundSource"
HorizontalAlignment="Stretch"
Expand Down
Loading

0 comments on commit 4fc9bea

Please sign in to comment.