Skip to content

Disable all ripple effect #3463

Closed Answered by Keboo
Jakvic asked this question in Q&A
Discussion options

You must be logged in to vote

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:

<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="1…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Jakvic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants