StoryBoard animation on Y to some height (via data binding)
Posted: 04 Jun 2025, 14:20
Hi,
currently we're using the following XAML to describe some Y animation on screen:
While it does seem to work, according to logger we get:
[NOESIS/E] /OverlayXaml_MessagesScreen;component/AssistantScreen.xaml(16,5): Can't Freeze BeginStoryboard.Storyboard
Is there any option to make this XAML only, or am i forced to use code-behind ?
currently we're using the following XAML to describe some Y animation on screen:
Code: Select all
<Storyboard x:Key="UpDownStoryboard">
<DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)"
To="0" Duration="0:0:1"
From="{Binding ActualHeight, ElementName=FirstMessageSection, Converter={StaticResource HeightToByConverter}, ConverterParameter=-2}"/>
</Storyboard>
[NOESIS/E] /OverlayXaml_MessagesScreen;component/AssistantScreen.xaml(16,5): Can't Freeze BeginStoryboard.Storyboard
Is there any option to make this XAML only, or am i forced to use code-behind ?