ResourceDictionaryDiagnostics.GetFrameworkContentElementOwners(ResourceDictionary) 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
.