-
I used these nuget pkg
I don't like the ripple animation when I clicked like button controls, so how can I disable the ripple animation , i mean globally. |
Beta Was this translation helpful? Give feedback.
Answered by
Keboo
Feb 22, 2024
Replies: 1 comment
-
The closes that exist in the library is the Something like: <Window x:Class="MyApp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Width="1150"
Style="{StaticResource MaterialDesignWindow}"
materialDesign:RippleAssist.IsDisabled="True"
mc:Ignorable="d">
...
</Window> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Jakvic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The closes that exist in the library is the
RippleAssist.IsDisabled
attached property. This property is inherited, so if you set it on your Window objects, that value will propagate down to all of the children and any control leveraging the ripple will disable it.Something like: