File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
MaterialDesignThemes.Wpf/Themes Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 456
456
<ScaleTransform CenterX =" 0.5" CenterY =" 0.5" ScaleX =" 1.0" ScaleY =" 1.0" x : Name =" CheckedEllipseScale" />
457
457
</Ellipse .RenderTransform>
458
458
</Ellipse >
459
+ <Ellipse Fill =" {TemplateBinding Foreground}"
460
+ Opacity =" .16" Visibility =" Hidden"
461
+ x : Name =" overlay" />
459
462
<wpf : Ripple Content =" {TemplateBinding Content}" ContentTemplate =" {TemplateBinding ContentTemplate}" Focusable =" False"
460
463
ContentStringFormat =" {TemplateBinding ContentStringFormat}"
461
464
HorizontalContentAlignment =" {TemplateBinding HorizontalContentAlignment}"
467
470
</Grid >
468
471
<ControlTemplate .Triggers>
469
472
<Trigger Property =" IsMouseOver" Value =" true" >
470
- <Setter Property =" Fill " TargetName =" border " Value =" {DynamicResource MaterialDesignFlatButtonClick} " />
473
+ <Setter Property =" Visibility " TargetName =" overlay " Value =" Visible " />
471
474
</Trigger >
472
475
<Trigger Property =" IsEnabled" Value =" false" >
473
476
<Setter Property =" Opacity" Value =" 0.23" />
You can’t perform that action at this time.
0 commit comments