TextBlock.IContentHost.GetRectangles(ContentElement) Metoda

Definice

Tato metoda podporuje infrastrukturu Windows Presentation Foundation (WPF) a není určená k použití přímo z vašeho kódu. Místo toho použijte typově bezpečnou GetRectanglesCore(ContentElement) metodu.

 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

Objekt ContentElement , pro který chcete vygenerovat a vrátit kolekci ohraničující obdélníky.

Návraty

Kolekce ohraničující obdélníky určené jen pro ContentElementčtení

Implementuje

Platí pro