Using a Storyboard animation on a programmatically-added control

后端 未结 4 1819
不知归路
不知归路 2020-12-13 12:42

I\'m trying to fade in a new control to my application\'s \"app\" area which is programmatically added after the existing controls are removed. My code looks like this:

4条回答
  •  盖世英雄少女心
    2020-12-13 13:28

    I solved the problem using this as parameter in the begin method, try:

    sb.Begin(this);
    

    Because the name is registered in the window.

提交回复
热议问题