다음을 통해 공유


ElementCompositionPreview.SetImplicitShowAnimation 메서드

정의

지정된 쇼 애니메이션을 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 트리의 모든 하위 항목이 해당 쇼 애니메이션을 재생합니다.

적용 대상