When I try to run an application with this code, it throws an exception in which the error text was not found.
<Button> <Button.Triggers> <EventTrigger RoutedEvent="Button.Click"> <BeginStoryboard> <Storyboard> <DoubleAnimation Duration="0:0:05" To="1" From="0" Storyboard.TargetName="ContentGrid" Storyboard.TargetProperty="Opacity" /> </Storyboard> </BeginStoryboard> </EventTrigger> </Button.Triggers> </Button>
There seems to be something wrong with the routed event function. What fix this exception.
shady source share