bonjour

pourquoi pour ce radiobox (ou togglebutton) l'animation ne marche qu'une fois après le click ?!
çàd mouseover marche mais après checked et unchecked ... ça ne marche plus !
qqn aurait il une solution ?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 
<ControlTemplate.Triggers>
	<Trigger Property="IsMouseOver" Value="True">
		<Trigger.EnterActions>
			<BeginStoryboard Storyboard="{StaticResource MouseOverAnim}"/>
		</Trigger.EnterActions>
		<Trigger.ExitActions>
			<BeginStoryboard Storyboard="{StaticResource MouseLeaveAnim}"/>
		</Trigger.ExitActions>
	</Trigger>
	<Trigger Property="IsChecked" Value="True">
		<Trigger.EnterActions>
			<BeginStoryboard Storyboard="{StaticResource MousePressedAnim}"/>
		</Trigger.EnterActions>
		<Trigger.ExitActions>
			<BeginStoryboard Storyboard="{StaticResource MouseLeaveAnim}"/>
		</Trigger.ExitActions>
	</Trigger>
</ControlTemplate.Triggers>