Can storyboard be empty?
Posted: 10 Feb 2017, 10:07
Hi,
I need to build an empty storyboard as a timer(since it is inside a storyboard sequence). Here is my code (in Unity):
var storyboard = new Storyboard();
storyboard.Duration = new Duration(TimeSpan.FromMilliseconds(1000));
storyboard.Completed += (sender, e) {
// Never reach here
};
storyboard.Begin(this);
And in WPF, this works fine. But in Noesis, the Completed handler never run. So what's the right way to do this in Noesis?
Thanks very much.
I need to build an empty storyboard as a timer(since it is inside a storyboard sequence). Here is my code (in Unity):
var storyboard = new Storyboard();
storyboard.Duration = new Duration(TimeSpan.FromMilliseconds(1000));
storyboard.Completed += (sender, e) {
// Never reach here
};
storyboard.Begin(this);
And in WPF, this works fine. But in Noesis, the Completed handler never run. So what's the right way to do this in Noesis?
Thanks very much.