WPF Mouseover Trigger Effect for Child Controls
Lets say I have this bit of code: <Window> <Window.Resources> <Color x:Key="MyColor" A="255" R="152" G="152" B="152" /> <DropShadowEffect x:Key="MyEffect" ShadowDepth="0" Color="{StaticResource MyColor}" BlurRadius="10" /> <Style x:Key="MyGridStyle" TargetType="{x:Type Grid}"> <Setter Property="Height" Value="200" /> <Setter Property="Width" Value="200" /> <Style.Resources> <Style TargetType="{x:Type TextBlock}"> <Setter Property="Width" Value="100" /> </Style> <Style TargetType="{x:Type Image}"> <Setter Property="Height" Value="100" /> <Setter Property="Width" Value="100" /> </Style> </Style