TextBlock.IContentHost.GetRectangles(ContentElement) Metodo

Definizione

Questo metodo supporta l'infrastruttura Windows Presentation Foundation (WPF) e non deve essere usata direttamente dal codice. Usare invece il metodo GetRectanglesCore(ContentElement) indipendente dai tipi.

 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

Parametri

child
ContentElement

Un ContentElement per il quale generare e restituire un insieme di rettangoli di delimitazione.

Restituisce

ReadOnlyCollection<Rect>

Un insieme di sola lettura di rettangoli di delimitazione per il ContentElement specificato.

Implementazioni

Si applica a