ElementCompositionPreview.SetImplicitShowAnimation 方法      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的放映动画与 UIElement 相关联。
public:
 static void SetImplicitShowAnimation(UIElement ^ element, ICompositionAnimationBase ^ animation);
	 static void SetImplicitShowAnimation(UIElement const& element, ICompositionAnimationBase const& animation);
	public static void SetImplicitShowAnimation(UIElement element, ICompositionAnimationBase animation);
	function setImplicitShowAnimation(element, animation)
	Public Shared Sub SetImplicitShowAnimation (element As UIElement, animation As ICompositionAnimationBase)
	参数
- element
 - UIElement
 
要与动画关联的 UIElement。
- animation
 - ICompositionAnimationBase
 
显示 UIElement 时要播放的动画。 Null 值阻止显示动画为此元素播放,直到使用动画值再次调用 方法。
注解
将元素添加到场景或其 Visibility 属性变为 Visibility.Visible 时,该元素及其在 UI 树中的所有后代将播放其显示动画。