View Issue Details

IDProjectCategoryView StatusLast Update
0001576NoesisGUIC++ SDKpublic2019-10-18 18:25
Reportersfernandez Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Product Version2.2.5 
Target Version2.2.6Fixed in Version2.2.6 
Summary0001576: StoryboardCompletedTrigger does not work if used inside a template
Description

The following xaml does not execute the action specified for the StoryboardCompletedTrigger:

<Grid
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions">

<Grid.Resources>
    <Storyboard x:Key="anim">
        <ColorAnimation Storyboard.TargetName="rect" Storyboard.TargetProperty="Fill.Color" To="Green"/>
    </Storyboard>
    <ControlTemplate x:Key="controlTemplate" TargetType="Control">
        <StackPanel x:Name="root" Background="Silver">
            <Button Content="Start Anim">
                <i:Interaction.Triggers>
                    <i:EventTrigger EventName="Click">
                        <ei:ControlStoryboardAction Storyboard="{StaticResource anim}"/>
                    </i:EventTrigger>
                    <ei:StoryboardCompletedTrigger Storyboard="{StaticResource anim}">
                        <ei:ChangePropertyAction TargetName="rect" PropertyName="Height" Value="50"/>
                    </ei:StoryboardCompletedTrigger>
                </i:Interaction.Triggers>
            </Button>
            <Rectangle x:Name="rect" Fill="Red" Height="20" Margin="10"/>
        </StackPanel>
    </ControlTemplate>
</Grid.Resources>

<Control Width="200" Height="100" Template="{StaticResource controlTemplate}"/>

</Grid>

PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-10-18 17:59 sfernandez New Issue
2019-10-18 17:59 sfernandez Assigned To => sfernandez
2019-10-18 17:59 sfernandez Status new => assigned
2019-10-18 17:59 sfernandez Target Version => 2.2.6
2019-10-18 18:25 sfernandez Status assigned => resolved
2019-10-18 18:25 sfernandez Resolution open => fixed
2019-10-18 18:25 sfernandez Fixed in Version => 2.2.6