- <Window.Resources>
- <Style TargetType="{x:Type Button}">
- <Style.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <!--Setter Property="Background" Value="Orange"></Setter-->
- <Setter Property="BitmapEffect">
- <Setter.Value>
- <OuterGlowBitmapEffect GlowSize="20" Noise=".3" GlowColor="Red"></OuterGlowBitmapEffect>
- </Setter.Value>
- </Setter>
- </Trigger>
- </Style.Triggers>
- </Style>
- </Window.Resources>
- <Grid x:Name="LayoutRoot">
- <Button x:Name="button" Margin="200,160,240,182" Content="Button" MouseEnter="button_MouseEnter">
- </Button>
- </Grid>