You are developing a Silverlight 4 application. You define two VisualStates named Fail and Pass for a custom control. You need to ensure that the transition from the Fail state to the Pass state takes two seconds. Which XAML fragment should you use?
A.
<VisualTransition From=”Fail” To=”Pass” GeneratedDuration=”0:0:2″ />
B.
<VisualTransition From=”Fail” />
<VisualTransition To=”Pass” />
<VisualTransition GeneratedDuration=”0:0:2″ />
C.
<VisualTransition From=”Fail” To=”Pass” />
<VisualTransition GeneratedDuration=”0:0:2″ />
D.
<VisualTransition From=”Pass” GeneratedDuration=”0:0:2″ />
<VisualTransition To=”Fail” GeneratedDuration=”0:0:2″ />