ResourceDictionaryDiagnostics.GetFrameworkElementOwners Метод

Определение

Получает владельцев элементов платформы для заданного словаря ресурсов.

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)

Параметры

dictionary
ResourceDictionary

Словарь ресурсов.

Возвращаемое значение

IEnumerable<FrameworkElement>

Владельцы элементов платформы dictionary. Если владельцы элементов платформы отсутствуют, этот метод возвращает null.

Применяется к