TextBlock.IContentHost.GetRectangles(ContentElement) Metoda

Definicja

Ta metoda obsługuje infrastrukturę Windows Presentation Foundation (WPF) i nie jest przeznaczona do użycia bezpośrednio z kodu. Zamiast tego należy użyć metody bezpiecznej GetRectanglesCore(ContentElement) typu.

 virtual System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Rect> ^ System.Windows.IContentHost.GetRectangles(System::Windows::ContentElement ^ child) = System::Windows::IContentHost::GetRectangles;
System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect> IContentHost.GetRectangles (System.Windows.ContentElement child);
abstract member System.Windows.IContentHost.GetRectangles : System.Windows.ContentElement -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect>
override this.System.Windows.IContentHost.GetRectangles : System.Windows.ContentElement -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect>
Function GetRectangles (child As ContentElement) As ReadOnlyCollection(Of Rect) Implements IContentHost.GetRectangles

Parametry

child
ContentElement

Element ContentElement , dla którego ma być generowany i zwracany zbiór prostokątów powiązanych.

Zwraca

Kolekcja prostokątów tylko do odczytu dla określonego ContentElementelementu .

Implementuje

Dotyczy