TextBlock.GetRectanglesCore(ContentElement) Метод

Определение

Возвращает коллекцию ограничивающих прямоугольников, доступную только для чтения, для указанного ContentElement.

protected:
 virtual System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Rect> ^ GetRectanglesCore(System::Windows::ContentElement ^ child);
protected virtual System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect> GetRectanglesCore (System.Windows.ContentElement child);
abstract member GetRectanglesCore : System.Windows.ContentElement -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect>
override this.GetRectanglesCore : System.Windows.ContentElement -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect>
Protected Overridable Function GetRectanglesCore (child As ContentElement) As ReadOnlyCollection(Of Rect)

Параметры

child
ContentElement

ContentElement, для которого необходимо создать и возвратить коллекцию ограничивающих прямоугольников.

Возвращаемое значение

Коллекция ограничивающих прямоугольников, доступная только для чтения, для указанного ContentElement.

Исключения

child имеет значение null.

Комментарии

Каждый ограничивающий прямоугольник в коллекции соответствует строке содержимого в ContentElement.

Применяется к