TextBlock.IContentHost.GetRectangles(ContentElement) 方法

定義

這個方法支援Windows Presentation Foundation (WPF) 基礎結構,而且不適合直接從您的程式碼使用。 請改用類型安全的 GetRectanglesCore(ContentElement) 方法。

 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

參數

child
ContentElement

要針對其產生及傳回周框集合的 ContentElement

傳回

指定之 ContentElement 的周框唯讀集合。

實作

適用於