View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002052 | NoesisGUI | C++ SDK | public | 2021-06-21 10:02 | 2023-09-26 20:31 |
Reporter | sfernandez | Assigned To | sfernandez | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | 3.0.12 | ||||
Target Version | 3.2.2 | Fixed in Version | 3.2.2 | ||
Summary | 0002052: Storyboard Completed event triggered for all instances of a template | ||||
Description | When defining the Storyboard as part of the resources of an element of the template VisualTree<ControlTemplate x:Key="t" TargetType="Control"> <Border x:Name="root" Background="Red"> <Border.Resources> <Storyboard x:Key="intro"> <ColorAnimation To="Blue" Duration="0:0:0.5" Storyboard.TargetName="root" Storyboard.TargetProperty="Background.Color"/> </Storyboard> </Border.Resources> <i:Interaction.Triggers> <i:EventTrigger EventName="MouseEnter"> <ei:ControlStoryboardAction Storyboard="{StaticResource intro}"/> </i:EventTrigger> <ei:StoryboardCompletedTrigger Storyboard="{StaticResource intro}"> <ei:ChangePropertyAction TargetName="root" PropertyName="Width" Value="150"/> </ei:StoryboardCompletedTrigger> </i:Interaction.Triggers> </Border> </ControlTemplate> all instances of the template share the same Storyboard and trigger the Completed event for all controls. In WPF each control instance has its own copy of the Storyboard and the Completed event triggers only for the corresponding instance. | ||||
Tags | No tags attached. | ||||
Platform | Any | ||||
related to | 0002634 | resolved | sfernandez | StoryboardCompletedTrigger is invoked for all items in list |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-06-21 10:02 | sfernandez | New Issue | |
2021-06-21 10:03 | sfernandez | Assigned To | => sfernandez |
2021-06-21 10:03 | sfernandez | Status | new => assigned |
2021-06-21 10:03 | sfernandez | Target Version | => 3.1 |
2023-07-22 00:24 | mshvern | Note Added: 0008609 | |
2023-07-24 13:01 | sfernandez | Relationship added | related to 0002634 |
2023-07-24 13:01 | sfernandez | Target Version | 3.1 => 3.2.2 |
2023-09-26 20:31 | sfernandez | Status | assigned => resolved |
2023-09-26 20:31 | sfernandez | Resolution | open => fixed |
2023-09-26 20:31 | sfernandez | Fixed in Version | => 3.2.2 |