Change style of a button at runtime in wpf with multibinding

I am trying to change the style of a button at runtime depending on a bool property. In addition to that, I am using the mahapps.metro framework. My Code: The view: <UserControl.Resources> <Style TargetType="{x:Type Button}" x:Key="firstStyle"> <Setter Property= "Style" Value="{StaticResource SquareButtonStyle}"/> </Style> <Style TargetType="{x:Type Button}" x:Key="secondStyle"> <Setter Property="Style" Value="{StaticResource AccentedSquareButtonStyle}"/> </Style> <conv:ButtonMultiConverter x:Key="styleConvert"/> </UserControl.Resources> The… Read More Change style of a button at runtime in wpf with multibinding