In the Microsoft example
https://learn.microsoft.com/en-us/dotnet/desktop/wpf/graphics-multimedia/how-to-control-a-mediaelement-by-using-a-storyboard?view=netframeworkdesktop-4.8
I would like to implement code-behind and or binding with functionality similar to SeekStoryboard below with variable Offset.
<EventTrigger RoutedEvent="Button.Click" SourceName="SeekButton">
<EventTrigger.Actions>
<SeekStoryboard x:Name="seekStoryboard" BeginStoryboardName="myBegin" Offset="0:0:30" Origin="BeginTime"/>
</EventTrigger.Actions>
</EventTrigger>
Complete sample on GitHub at https://github.com/Ray-Wynn/Example_SDKSample_MediaTimeline