TextBlock.IContentHost.GetRectangles(ContentElement) Method

Definition

This method supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. Use the type-safe GetRectanglesCore(ContentElement) method instead.

 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);
Function GetRectangles (child As ContentElement) As ReadOnlyCollection(Of Rect) Implements IContentHost.GetRectangles

Parameters

child
ContentElement

A ContentElement for which to generate and return a collection of bounding rectangles.

Returns

A read-only collection of bounding rectangles for the specified ContentElement.

Implements

Applies to