ResourceDictionaryDiagnostics.GetFrameworkContentElementOwners 方法

定义

获取指定资源字典的框架内容所有者。

public:
 static System::Collections::Generic::IEnumerable<System::Windows::FrameworkContentElement ^> ^ GetFrameworkContentElementOwners(System::Windows::ResourceDictionary ^ dictionary);
public static System.Collections.Generic.IEnumerable<System.Windows.FrameworkContentElement> GetFrameworkContentElementOwners (System.Windows.ResourceDictionary dictionary);
static member GetFrameworkContentElementOwners : System.Windows.ResourceDictionary -> seq<System.Windows.FrameworkContentElement>
Public Shared Function GetFrameworkContentElementOwners (dictionary As ResourceDictionary) As IEnumerable(Of FrameworkContentElement)

参数

dictionary
ResourceDictionary

资源字典。

返回

IEnumerable<FrameworkContentElement>

dictionary 的框架内容所有者。 如果没有框架内容所有者,此方法将返回 null

适用于