Partilhar via


ResourceDictionaryDiagnostics.GetFrameworkElementOwners Método

Definição

Obtém os proprietários dos elementos da estrutura de um dicionário de recursos especificado.

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

Parâmetros

dictionary
ResourceDictionary

Um dicionário de recursos.

Retornos

IEnumerable<FrameworkElement>

Os proprietários de elemento da estrutura de dictionary. Se não houver proprietários do elemento de estrutura, o método retornará null.

Aplica-se a