TextBlock.GetRectanglesCore(ContentElement) Método

Definición

Devuelve una colección de solo lectura de rectángulos delimitadores para un objeto especificado 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)

Parámetros

child
ContentElement

ContentElement para el que se va a generar y devolver una colección de rectángulos delimitadores.

Devoluciones

Colección de solo lectura de rectángulos delimitadores para el especificado ContentElement.

Excepciones

child es null.

Comentarios

Cada rectángulo delimitador de la colección corresponde a una línea de contenido de ContentElement.

Se aplica a