Storyboard.SetTargetProperty(DependencyObject, PropertyPath) メソッド

定義

指定した Timeline が、指定した依存関係プロパティを対象にするようにします。

public:
 static void SetTargetProperty(System::Windows::DependencyObject ^ element, System::Windows::PropertyPath ^ path);
public static void SetTargetProperty (System.Windows.DependencyObject element, System.Windows.PropertyPath path);
static member SetTargetProperty : System.Windows.DependencyObject * System.Windows.PropertyPath -> unit
Public Shared Sub SetTargetProperty (element As DependencyObject, path As PropertyPath)

パラメーター

element
DependencyObject

指定した依存関係プロパティを関連付ける Timeline

path
PropertyPath

アニメーション化する依存関係プロパティを示すパス。

注釈

このメソッドは、指定したオブジェクトに TargetProperty 添付プロパティを設定します。 ストーリーボードのターゲット設定のしくみの詳細については、「」を参照してください TargetProperty。 添付プロパティのしくみの詳細については、「添付プロパティの 概要」を参照してください。

適用対象

こちらもご覧ください