Well, I have a custom control, and when Visibility changed to Visible , I have a Trigger with an I / O action, but the problem is that when the exit action fires, Visibility no longer Visible , so the animation cannot be seen as can i fix this?
here is my Trigger :
<ControlTemplate.Triggers> <Trigger Property="Visibility" Value="Visible"> <Trigger.ExitActions> <BeginStoryboard Storyboard="{StaticResource Hide}"/> </Trigger.ExitActions> <Trigger.EnterActions> <BeginStoryboard Storyboard="{StaticResource Show}"/> </Trigger.EnterActions> </Trigger> </ControlTemplate.Triggers>
triggers animation wpf xaml controltemplate
Peter
source share