Editar

Compartir a través de


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);
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

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