A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
<EventTrigger SourceName="Button_main" RoutedEvent="Mouse.MouseLeave">
<StopStoryboard BeginStoryboardName="bsb1"/>
</EventTrigger>
------------------------------------------------------
Grid :
<Button x:Name="Button_main" x:FieldModifier="public"/>
</Button