Declaring a local Trigger
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <StackPanel> <Button Content="Button with local style"> <Button.Resources> <Style TargetType="{x:Type Button}"> <Style.Triggers> <Trigger Property="IsMouseOver" Value="true"> <Setter Property="Background" Value="Green" /> </Trigger> </Style.Triggers> </Style> </Button.Resources> </Button> <Button Content="Button with no local style" /> </StackPanel> </Page>