XamlMember.LookupDependsOn 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.
Returns a list of XamlMember objects. Items in the list report the members where dependency relationships for initialization order exist relative to this XamlMember.
protected:
virtual System::Collections::Generic::IList<System::Xaml::XamlMember ^> ^ LookupDependsOn();
protected virtual System.Collections.Generic.IList<System.Xaml.XamlMember> LookupDependsOn ();
abstract member LookupDependsOn : unit -> System.Collections.Generic.IList<System.Xaml.XamlMember>
override this.LookupDependsOn : unit -> System.Collections.Generic.IList<System.Xaml.XamlMember>
Protected Overridable Function LookupDependsOn () As IList(Of XamlMember)
Returns
A list of XamlMember objects.
Remarks
This method is invoked when a caller gets a value from the DependsOn property. Override this method if you want DependsOn to return a value that differs from the value that is enabled by default internal reflection, and if you are also providing custom XamlMemberInvoker information.
The WPF XAML reader and writer implementations attribute this case with DependsOnAttribute. The default implementation uses this existing DependsOnAttribute technique.
Override this method if you are not using DependsOnAttribute for this purpose and intend to replace that technique for indicating property processing order with your own technique. If you do not intend to support a property processing order, you can use the default implementation because it returns no results, which is appropriate.
The list is read-only.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기