Język

ResourceDictionaryDiagnostics.GetFrameworkElementOwners Metoda

Definicja

Pobiera właścicieli elementów struktury określonego słownika zasobów.

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)

Parametry

dictionary
ResourceDictionary

Słownik zasobów.

Zwraca

Właściciele elementów struktury .dictionary Jeśli nie ma właścicieli elementów struktury, metoda zwraca wartość null.

Dotyczy