-
Beta Was this translation helpful? Give feedback.
Answered by
Keboo
Jun 10, 2022
Replies: 1 comment 3 replies
-
At present there is not a great way to do it, however you can work around it by doing the following.
Something like this: <Button
Style="{StaticResource MaterialDesignIconButton}"
ToolTip="MaterialDesignIconButton"
Foreground="Transparent"
materialDesign:RippleAssist.IsDisabled="True"
IsEnabled="{Binding DataContext.ControlsEnabled, RelativeSource={RelativeSource FindAncestor, AncestorType=Window}}">
<materialDesign:PackIcon Kind="Play" Foreground="{DynamicResource PrimaryHueMidBrush}"/>
</Button> |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
waylaa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At present there is not a great way to do it, however you can work around it by doing the following.
Foreground
on theButton
toTransparent
this will effectively hide the mouse over effect, but also hide your content.Foreground
property to{DynamicResource PrimaryHueMidBrush}
materialDesign:RippleAssist.IsDisabled="True"
on the Button.Something like this: