Language

CompositionObject.TryGetAnimationController(String) メソッド

定義

指定したプロパティで実行されているアニメーションの AnimationController を返します。

public:
 virtual AnimationController ^ TryGetAnimationController(Platform::String ^ propertyName) = TryGetAnimationController;
AnimationController TryGetAnimationController(winrt::hstring const& propertyName);
public AnimationController TryGetAnimationController(string propertyName);
function tryGetAnimationController(propertyName)
Public Function TryGetAnimationController (propertyName As String) As AnimationController

パラメーター

propertyName
String

Platform::String

winrt::hstring

アニメーション化されているプロパティ。

返品

指定したアニメーションの AnimationController のインスタンス。アニメーションが見つからない場合は null 。

Windows の要件

要件 説明
デバイス ファミリ
Windows 10, version 1803 (10.0.17134.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v6.0 で導入)

適用対象