編輯

共用方式為


ResourceDictionaryDiagnostics.GetFrameworkContentElementOwners Method

Definition

Gets the framework content owners of a specified resource dictionary.

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)

Parameters

dictionary
ResourceDictionary

A resource dictionary.

Returns

The framework content owners of dictionary. If there are no framework content owners, the method returns null.

Applies to