Storyboard.SetTargetProperty(DependencyObject, PropertyPath) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Makes the specified Timeline target the specified dependency property.
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)
Parameters
- element
- DependencyObject
The Timeline with which to associate the specified dependency property.
- path
- PropertyPath
A path that describe the dependency property to be animated.
Remarks
This method sets the TargetProperty attached property on the specified object. For more information about how storyboard targeting works, see TargetProperty. For more information about how attached properties work, see Attached Properties Overview.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기